mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
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)
|
||
|
}
|