public class FS_Win32 extends FS
FS.Attributes, FS.FSFactory| Modifier | Constructor and Description | 
|---|---|
  | 
FS_Win32()
Constructor 
 | 
protected  | 
FS_Win32(FS src)
Constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
canExecute(File f)
Determine if the file is executable (or not). 
 | 
void | 
createSymLink(File path,
             String target)
Create a symbolic link 
 | 
void | 
delete(File path)
Delete a file. 
 | 
protected File | 
discoverGitExe()  | 
boolean | 
exists(File path)
Tests if the path exists, in case of a symbolic link, true even if the
 target does not exist 
 | 
FS.Attributes | 
getAttributes(File path)  | 
boolean | 
isCaseSensitive()
Is this file system case sensitive 
 | 
boolean | 
isDirectory(File path)
Check if path is a directory. 
 | 
boolean | 
isFile(File path)
Examine if path represents a regular file. 
 | 
boolean | 
isHidden(File path)  | 
boolean | 
isSymLink(File path)  | 
long | 
lastModified(File path)
Get the last modified time of a file system object. 
 | 
long | 
length(File f)
Get the length of a file or link, If the OS/JRE supports symbolic links
 it's the length of the link, else the length of the target. 
 | 
FS | 
newInstance()  | 
String | 
readSymLink(File path)
Check if a file is a symbolic link and read it 
 | 
boolean | 
retryFailedLockFileCommit()
Does this file system have problems with atomic renames? 
 | 
ProcessBuilder | 
runInShell(String cmd,
          String[] args)
Initialize a ProcessBuilder to run a command using the system shell. 
 | 
boolean | 
setExecute(File f,
          boolean canExec)
Set a file to be executable by the user. 
 | 
void | 
setHidden(File path,
         boolean hidden)
Set the hidden attribute for file whose name starts with a period. 
 | 
void | 
setLastModified(File path,
               long time)
Set the last modified time of a file system object. 
 | 
boolean | 
supportsExecute()
Does this operating system and JRE support the execute flag on files? 
 | 
boolean | 
supportsSymlinks()
Does this operating system and JRE supports symbolic links. 
 | 
protected File | 
userHomeImpl()
Determine the user's home directory (location where preferences are). 
 | 
detect, detect, discoverGitSystemConfig, findHook, getGitSystemConfig, internalRunHookIfPresent, normalize, normalize, readPipe, readPipe, relativize, resolve, resolveGrandparentFile, runHookIfPresent, runHookIfPresent, runProcess, searchPath, setGitSystemConfig, setUserHome, userHomepublic FS_Win32()
protected FS_Win32(FS src)
src - instance whose attributes to copypublic FS newInstance()
newInstance in class FSpublic boolean supportsExecute()
FSsupportsExecute in class FSpublic boolean canExecute(File f)
FSNot 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 f is a symbolic link
 this method returns false, rather than the state of the executable flags
 on the target file.
canExecute in class FSf - abstract path to test.public boolean setExecute(File f, boolean canExec)
FSNot 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.
setExecute in class FSf - path to modify the executable status of.canExec - true to enable execution; false to disable it.public boolean isCaseSensitive()
FSisCaseSensitive in class FSpublic boolean retryFailedLockFileCommit()
FSretryFailedLockFileCommit in class FSprotected File discoverGitExe()
discoverGitExe in class FSnull if it cannot be
         determined.protected File userHomeImpl()
FSuserHomeImpl in class FSpublic ProcessBuilder runInShell(String cmd, String[] args)
FSrunInShell in class FScmd - command to execute. This string should originate from the
            end-user, and thus is platform specific.args - arguments to pass to command. These should be protected from
            shell evaluation.public boolean supportsSymlinks()
FSsupportsSymlinks in class FSpublic boolean isSymLink(File path) throws IOException
isSymLink in class FSIOExceptionpublic long lastModified(File path) throws IOException
FSlastModified in class FSIOExceptionpublic void setLastModified(File path, long time) throws IOException
FSsetLastModified in class FSIOExceptionpublic void delete(File path) throws IOException
FSdelete in class FSIOException - this may be a Java7 subclass with detailed informationpublic long length(File f) throws IOException
FSlength in class FSIOExceptionpublic boolean exists(File path)
FSpublic boolean isDirectory(File path)
FSisDirectory in class FSpublic boolean isFile(File path)
FSpublic boolean isHidden(File path) throws IOException
isHidden in class FSIOExceptionpublic void setHidden(File path, boolean hidden) throws IOException
FSsetHidden in class FSIOExceptionpublic String readSymLink(File path) throws IOException
FSreadSymLink in class FSIOExceptionpublic void createSymLink(File path, String target) throws IOException
FScreateSymLink in class FSIOExceptionpublic FS.Attributes getAttributes(File path)
getAttributes in class FSCopyright © 2015 Eclipse JGit Project. All rights reserved.