Package org.eclipse.jgit.treewalk
Class WorkingTreeOptions
java.lang.Object
org.eclipse.jgit.treewalk.WorkingTreeOptions
Options used by the
WorkingTreeIterator.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CoreConfig.AutoCRLFprivate final CoreConfig.CheckStatprivate final booleanprivate final CoreConfig.EOLprivate final booleanprivate final CoreConfig.HideDotFilesstatic final Config.SectionParser<WorkingTreeOptions>Key forConfig.get(SectionParser).private final CoreConfig.SymLinks -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet automatic CRLF conversion configuration.Get how stat data is compared.getEOL()Get how text line endings should be normalized.Get how we create '.'-files (on Windows)Get how we handle symbolic linksbooleanWhether or not we treat nested repos as directories.booleanWhether the execute bit on working files should be trusted.
-
Field Details
-
KEY
Key forConfig.get(SectionParser). -
fileMode
private final boolean fileMode -
autoCRLF
-
eol
-
checkStat
-
symlinks
-
hideDotFiles
-
dirNoGitLinks
private final boolean dirNoGitLinks
-
-
Constructor Details
-
WorkingTreeOptions
-
-
Method Details
-
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
Get automatic CRLF conversion configuration.- Returns:
- how automatic CRLF conversion has been configured.
-
getEOL
Get how text line endings should be normalized.- Returns:
- how text line endings should be normalized.
- Since:
- 4.3
-
getCheckStat
Get how stat data is compared.- Returns:
- how stat data is compared.
- Since:
- 3.0
-
getSymLinks
Get how we handle symbolic links- Returns:
- how we handle symbolic links
- Since:
- 3.3
-
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
-