mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
2eeea32117
fbshipit-source-id: 2bcefbd0cd127cc5ea982e074ea6819d7aac3d7a
25 lines
591 B
Thrift
25 lines
591 B
Thrift
include "common/fb303/if/fb303.thrift"
|
|
|
|
namespace cpp2 facebook.eden
|
|
namespace java com.facebook.eden
|
|
namespace py facebook.eden
|
|
|
|
exception EdenError {
|
|
1: string message
|
|
} (message = 'message')
|
|
|
|
|
|
struct MountInfo {
|
|
1: string mountPoint
|
|
2: string edenClientPath
|
|
}
|
|
|
|
service EdenService extends fb303.FacebookService {
|
|
list<MountInfo> listMounts() throws (1: EdenError ex)
|
|
void mount(1: MountInfo info) throws (1: EdenError ex)
|
|
void unmount(1: string mountPoint) throws (1: EdenError ex)
|
|
|
|
void checkOutRevision(1: string mountPoint, 2: string hash)
|
|
throws (1: EdenError ex)
|
|
}
|