public class EdenMount extends Object
Modifier and Type | Method and Description |
---|---|
static Optional<EdenMount> |
createEdenMountForProjectRoot(Path projectRoot,
EdenClientPool pool) |
Path |
getProjectRoot() |
Sha1HashCode |
getSha1(Path entry) |
String |
toString() |
public static Optional<EdenMount> createEdenMountForProjectRoot(Path projectRoot, EdenClientPool pool)
projectRoot
is backed by Eden or null
.public Path getProjectRoot()
EdenMount
represents.public Sha1HashCode getSha1(Path entry) throws com.facebook.eden.thrift.EdenError, IOException, com.facebook.thrift.TException
entry
- is a path that is relative to getProjectRoot()
.com.facebook.eden.thrift.EdenError
IOException
com.facebook.thrift.TException