C# 클래스 GitForce.ClassTabCheck

Contains code to check files for TABs and EOL spaces. Implements the optional functionality enabled by a checkbox in the Settings->Files
파일 보기 프로젝트 열기: gdevic/GitForce 1 사용 예제들

공개 메소드들

메소드 설명
CheckForTabs ( List files ) : void

If user checked a preference to scan for TABS, and the file extension matches, check the file(s) for TABs and EOL's spaces

비공개 메소드들

메소드 설명
CheckTabsInFile ( string file ) : bool

Check if a file contains TAB characters or EOL spaces Assumes the file is a readable text file

CheckTabsInFiles ( List files, List regexes ) : List

Check a list of files, filtered by a list of Regex expressions, for TABs or EOL spaces Returns a subset of files that contain TABs or EOL spaces

메소드 상세

CheckForTabs() 공개 정적인 메소드

If user checked a preference to scan for TABS, and the file extension matches, check the file(s) for TABs and EOL's spaces
public static CheckForTabs ( List files ) : void
files List
리턴 void