protected static LineType whatSubProjectLine()

in src/com/intellij/vssSupport/VssOutputCollector.java [60:73]


  protected static LineType whatSubProjectLine( final String[] lines, int offset )
  {
    if( StringUtil.startsWithChar( lines[offset], '$') )
    {
      if( StringUtil.endsWithChar( lines[offset], ':' ) )
        return LineType.SIMPLE_FORMAT;

      if( offset + 1 < lines.length &&
          !StringUtil.startsWithChar( lines[offset + 1], '$') &&
          StringUtil.endsWithChar( lines[offset + 1], ':' ))
        return LineType.WRAPPED_FORMAT;
    }
    return LineType.NO_PROJECT;
  }