Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EGit/FS"
< EGit
(→Example) |
|||
Line 289: | Line 289: | ||
− | == | + | == Examples == |
The createSymLinks(File, String) implementation is : | The createSymLinks(File, String) implementation is : | ||
Line 295: | Line 295: | ||
* not implemented for FS_Win32, | * not implemented for FS_Win32, | ||
* implemented and tested for FS_Win32_Java7 and FS_Win32_Cygwin, | * implemented and tested for FS_Win32_Java7 and FS_Win32_Cygwin, | ||
− | * the implementation for | + | * the implementation for FS_Win32_Java7Cygwin is the same than FS_Win32_Cygwin, |
* implemented and tested for FS_POSIX, | * implemented and tested for FS_POSIX, | ||
* the implementation for FS_POSIX_Java5 & FS_POSIX_Java6 is the same than FS_POSIX, | * the implementation for FS_POSIX_Java5 & FS_POSIX_Java6 is the same than FS_POSIX, | ||
* implemented and tested for FS_POSIX_Java7. | * implemented and tested for FS_POSIX_Java7. | ||
+ | |||
+ | The runInShell implementation is : | ||
+ | * not applicable for FS, | ||
+ | * implemented with cmd.exe but not tested for FS_Win32, | ||
+ | * the implementation for FS_Win32_Java7 is the same than FS_Win32, | ||
+ | * implemented with sh.exe and tested for FS_Win32_Cygwin, | ||
+ | * the implementation for FS_Win32_Java7Cygwin is the same than FS_Win32_Cygwin, | ||
+ | * implemented with sh and tested for FS_POSIX, | ||
+ | * the implementation for FS_POSIX_Java5 & FS_POSIX_Java6 is the same than FS_POSIX, | ||
+ | * the implementation for FS_POSIX_Java7 is the same than FS_POSIX, but not tested. |
Revision as of 10:25, 27 January 2014
EGit FS (File System Operations)
This page lists the methods managed for org.eclipse.jgit.util.FS.java and all subclasses:
- FS_Win32
- FS_Win32_Java7
- FS_Win32_Cygwin
- FS_Win32_Java7Cygwin
- FS_POSIX
- FS_POSIX_Java_7
- FS_POSIX_Java_6
- FS_POSIX_Java_5
EGit/JGit | FS | FS_Win32 | FS_Win32_Java7 | FS_Win32_Cygwin | FS_Win32_Java7Cygwin | FS_POSIX | FS_POSIX_Java5 | FS_POSIX_Java6 | FS_POSIX_Java7 |
---|---|---|---|---|---|---|---|---|---|
canExecute(File) | N/A | false | FS_Win32 | N/A | false | ||||
createSymLinks(File, String) | N/A | N/I | FS_Win32_Cygwin | FS_POSIX | FS_POSIX | ||||
delete(File) | FS | FS | FS | FS | FS | ||||
exists(File) | FS | FS_POSIX | FS_POSIX | ||||||
getAttributes(File) | FS | FS | FS | FS | FS | ||||
isCaseSensitive() | N/A | false | FS_Win32 | FS_Win32 | FS_Win32 | FS_POSIX | FS_POSIX | FS_POSIX | |
isDirectory(File) | FS | FS | FS | FS | FS | FS | FS | FS | |
isFile(File) | FS | FS | FS | FS | FS | FS | FS | FS | |
isHidden(File) | FS | FS | FS | FS | FS | FS | FS | FS | |
isSymLink(File) | false | FS | FS_Win32_Cygwin | FS_POSIX | FS_POSIX | ||||
lastModified(File) | FS | FS_Win32_Cygwin | FS_POSIX | FS_POSIX | |||||
length(File) | FS | FS_Win32_Cygwin | FS_POSIX | FS_POSIX | |||||
normalize(File) | FS | FS | FS | FS | FS | FS | FS | FS | |
normalize(String) | FS | FS | FS | FS | FS | FS | FS | FS | |
readSymLink(File) | N/A | FS | FS_Win32_Cygwin | FS_POSIX | FS_POSIX | ||||
resolve(File, String) | FS | FS | FS | FS | FS | FS | FS | FS | |
runInShell | N/A | cmd.exe | FS_Win32 | sh.exe | FS_Win32_Cygwin | sh | FS_POSIX | FS_POSIX | FS_POSIX |
setExecute(File, boolean) | N/A | false | FS | false | |||||
setHidden(File, boolean) | FS | FS | FS_POSIX | FS_POSIX | FS_POSIX | ||||
setLastModified(File, long) | FS | FS | FS | FS | FS | ||||
supportsExecute() | N/A | false | true | FS_WIn32 | true | N/A | false | true | true |
supportsSymlinks() | false | FS | true | true | FS_Win32_Cygwin | true | FS_POSIX | FS_POSIX | FS_POSIX |
N/A | Not applicable |
N/I | Not implemented |
Not tested | |
Test failed | |
Test ok |
Examples
The createSymLinks(File, String) implementation is :
- not applicable for FS,
- not implemented for FS_Win32,
- implemented and tested for FS_Win32_Java7 and FS_Win32_Cygwin,
- the implementation for FS_Win32_Java7Cygwin is the same than FS_Win32_Cygwin,
- implemented and tested for FS_POSIX,
- the implementation for FS_POSIX_Java5 & FS_POSIX_Java6 is the same than FS_POSIX,
- implemented and tested for FS_POSIX_Java7.
The runInShell implementation is :
- not applicable for FS,
- implemented with cmd.exe but not tested for FS_Win32,
- the implementation for FS_Win32_Java7 is the same than FS_Win32,
- implemented with sh.exe and tested for FS_Win32_Cygwin,
- the implementation for FS_Win32_Java7Cygwin is the same than FS_Win32_Cygwin,
- implemented with sh and tested for FS_POSIX,
- the implementation for FS_POSIX_Java5 & FS_POSIX_Java6 is the same than FS_POSIX,
- the implementation for FS_POSIX_Java7 is the same than FS_POSIX, but not tested.