Package org.eclipse.jgit.treewalk
Class WorkingTreeOptions
- java.lang.Object
-
- org.eclipse.jgit.treewalk.WorkingTreeOptions
-
public class WorkingTreeOptions extends Object
Options used by theWorkingTreeIterator.
-
-
Field Summary
Fields Modifier and Type Field Description static Config.SectionParser<WorkingTreeOptions>KEYKey forConfig.get(SectionParser).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CoreConfig.AutoCRLFgetAutoCRLF()Get automatic CRLF conversion configuration.CoreConfig.CheckStatgetCheckStat()Get how stat data is compared.CoreConfig.EOLgetEOL()Get how text line endings should be normalized.CoreConfig.HideDotFilesgetHideDotFiles()Get how we create '.'-files (on Windows)CoreConfig.SymLinksgetSymLinks()Get how we handle symbolic linksbooleanisDirNoGitLinks()Whether or not we treat nested repos as directories.booleanisFileMode()Whether the execute bit on working files should be trusted.
-
-
-
Field Detail
-
KEY
public static final Config.SectionParser<WorkingTreeOptions> KEY
Key forConfig.get(SectionParser).
-
-
Method Detail
-
isFileMode
public boolean isFileMode()
Whether the execute bit on working files should be trusted.- Returns:
trueif the execute bit on working files should be trusted.
-
getAutoCRLF
public CoreConfig.AutoCRLF getAutoCRLF()
Get automatic CRLF conversion configuration.- Returns:
- how automatic CRLF conversion has been configured.
-
getEOL
public CoreConfig.EOL getEOL()
Get how text line endings should be normalized.- Returns:
- how text line endings should be normalized.
- Since:
- 4.3
-
getCheckStat
public CoreConfig.CheckStat getCheckStat()
Get how stat data is compared.- Returns:
- how stat data is compared.
- Since:
- 3.0
-
getSymLinks
public CoreConfig.SymLinks getSymLinks()
Get how we handle symbolic links- Returns:
- how we handle symbolic links
- Since:
- 3.3
-
getHideDotFiles
public CoreConfig.HideDotFiles getHideDotFiles()
Get how we create '.'-files (on Windows)- Returns:
- how we create '.'-files (on Windows)
- Since:
- 3.5
-
isDirNoGitLinks
public boolean isDirNoGitLinks()
Whether or not we treat nested repos as directories.- Returns:
- whether or not we treat nested repos as directories. If true, folders containing .git entries will not be treated as gitlinks.
- Since:
- 4.3
-
-