public interface ProjectFilesystemDelegate
ProjectFilesystem
can use to leverage a specialized implementation of
certain filesystem operations, tailored to the underlying filesystem. Use of the delegate is
often motivated by performance reasons.Modifier and Type | Method and Description |
---|---|
Sha1HashCode |
computeSha1(Path pathRelativeToProjectRootOrJustAbsolute) |
boolean |
exists(Path pathRelativeToProjectRoot,
LinkOption... options) |
com.google.common.collect.ImmutableMap<String,? extends Object> |
getDetailsForLogging() |
Path |
getPathForRelativePath(Path pathRelativeToProjectRoot) |
boolean |
isExecutable(Path child) |
boolean |
isSymlink(Path path) |
Sha1HashCode computeSha1(Path pathRelativeToProjectRootOrJustAbsolute) throws IOException
IOException
boolean isExecutable(Path child)
boolean isSymlink(Path path)
boolean exists(Path pathRelativeToProjectRoot, LinkOption... options)
com.google.common.collect.ImmutableMap<String,? extends Object> getDetailsForLogging()
String
, int
, or boolean
.