| Modifier and Type | Field and Description |
|---|---|
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canExecute(File
abstract path to test. f)Implements abstract org. Determine if the file is executable (or not). |
| protected File | discoverGitExe()
Implements abstract org. Discover the path to the Git executable. |
| public FS. | getAttributes(File
a path)java. object.Overrides org. Get the file attributes we care for. |
| public boolean | isCaseSensitive()
Implements abstract org. Is this file system case sensitive |
| public WorkingTreeIterator. | list(File
to get the children of directory, FileTreeIterator.to use to calculate the git mode of a child fileModeStrategyOverrides org. Enumerates children of a directory. |
| public FS | newInstance()
Implements abstract org. Create a new instance of the same type of FS. |
| public boolean | retryFailedLockFileCommit()
Implements abstract org. Does this file system have problems with atomic renames? |
| public ProcessBuilder | runInShell(String
command to execute. This string should originate from the
end-user, and thus is platform specific. cmd, String[] arguments to pass to command. These should be protected from
shell evaluation. args)Implements abstract org. Initialize a ProcessBuilder to run a command using the system shell. |
| public boolean | setExecute(File
path to modify the executable status of. f, boolean true to enable execution; false to disable it. canExec)Implements abstract org. Set a file to be executable by the user. |
| public boolean | supportsExecute()
Implements abstract org. Does this operating system and JRE support the execute flag on files? |
| protected File | userHomeImpl()
Overrides org. Determine the user's home directory (location where preferences are). |
| LOG | back to summary |
|---|---|
| private static final Logger LOG Hides org. | |
| FS_Win32 | back to summary |
|---|---|
| public FS_Win32() Constructor | |
| FS_Win32 | back to summary |
|---|---|
| protected FS_Win32(FS src) Constructor
| |
| canExecute | back to summary |
|---|---|
| public boolean canExecute(File f) Implements abstract org. Doc from org. Determine if the file is executable (or not). Not all platforms and JREs support executable flags on files. If the feature is unsupported this method will always return false.
If the platform supports symbolic links and | |
| discoverGitExe | back to summary |
|---|---|
| protected File discoverGitExe() Implements abstract org. Doc from org. Discover the path to the Git executable. | |
| getAttributes | back to summary |
|---|---|
| public FS. Overrides org. Doc from org. Get the file attributes we care for.
| |
| isCaseSensitive | back to summary |
|---|---|
| public boolean isCaseSensitive() Implements abstract org. Doc from org. Is this file system case sensitive
| |
| list | back to summary |
|---|---|
| public WorkingTreeIterator. Overrides org. Doc from org. Enumerates children of a directory.
| |
| newInstance | back to summary |
|---|---|
| public FS newInstance() Implements abstract org. Doc from org. Create a new instance of the same type of FS. | |
| retryFailedLockFileCommit | back to summary |
|---|---|
| public boolean retryFailedLockFileCommit() Implements abstract org. Doc from org. Does this file system have problems with atomic renames?
| |
| runInShell | back to summary |
|---|---|
| public ProcessBuilder runInShell(String cmd, String[] args) Implements abstract org. Doc from org. Initialize a ProcessBuilder to run a command using the system shell.
| |
| setExecute | back to summary |
|---|---|
| public boolean setExecute(File f, boolean canExec) Implements abstract org. Doc from org. Set a file to be executable by the user. Not all platforms and JREs support executable flags on files. If the feature is unsupported this method will always return false and no changes will be made to the file specified. | |
| supportsExecute | back to summary |
|---|---|
| public boolean supportsExecute() Implements abstract org. Doc from org. Does this operating system and JRE support the execute flag on files?
| |
| userHomeImpl | back to summary |
|---|---|
| protected File userHomeImpl() Overrides org. Doc from org. Determine the user's home directory (location where preferences are). | |