public static class FileTreeIterator.NoGitlinksStrategy extends Object implements FileTreeIterator.FileModeStrategy
| Modifier and Type | Field and Description |
|---|---|
static FileTreeIterator.NoGitlinksStrategy |
INSTANCE
a singleton instance of the default FileModeStrategy
|
| Constructor and Description |
|---|
NoGitlinksStrategy() |
| Modifier and Type | Method and Description |
|---|---|
FileMode |
getMode(File f,
FS.Attributes attributes)
Compute the FileMode for a given File, based on its attributes.
|
public static final FileTreeIterator.NoGitlinksStrategy INSTANCE
public FileMode getMode(File f, FS.Attributes attributes)
FileTreeIterator.FileModeStrategygetMode in interface FileTreeIterator.FileModeStrategyf - the file to return a FileMode forattributes - the attributes of a fileCopyright © 2018 Eclipse JGit Project. All rights reserved.