Package com.facebook.buck.io.windowsfs
Class WindowsFS
- java.lang.Object
-
- com.facebook.buck.io.windowsfs.WindowsFS
-
public class WindowsFS extends Object
Utility class for working with windows FS
-
-
Constructor Summary
Constructors Constructor Description WindowsFS()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createSymbolicLink(Path symlink, Path target, boolean dirLink)
Creates a symbolic link (using CreateSymbolicLink winapi call under the hood).
-
-
-
Method Detail
-
createSymbolicLink
public void createSymbolicLink(Path symlink, Path target, boolean dirLink) throws IOException
Creates a symbolic link (using CreateSymbolicLink winapi call under the hood).- Parameters:
symlink
- the path of the symbolic link to createtarget
- the target of the symbolic linkdirLink
- whether the target is a directory- Throws:
IOException
- if an underlying system call fails
-
-