sapling/eden/fs/service/eden.thrift

25 lines
591 B
Thrift
Raw Normal View History

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)
}