【文件属性】:
文件名称:protofuse:将协议缓冲区挂载为 FUSE 文件系统
文件大小:39KB
文件格式:ZIP
更新时间:2021-06-28 01:06:22
Go
原保险丝
Protofuse 是一种将编组的协议缓冲区挂载为文件系统的工具,以便于查看和调试。
使用protofuse:
$ protofuse 'path of mount location' 'marshaled protocol buffer' 'path to .proto file' 'package name' 'message name'
protofuse/mount/mount.go 也包含函数
Mount(marshaled []byte, fileDesc *google_protobuf.FileDescriptorSet, packageName string, messageName string, mountPoint string) error
和
MountList(marshaled [][]byte, fileDesc *google_prot