feat: useable

This commit is contained in:
Samuel N Cui
2022-12-12 22:48:23 +08:00
parent af8c37b18e
commit f87ec06af6
134 changed files with 18715 additions and 1343 deletions

28
entity/source.proto Normal file
View File

@@ -0,0 +1,28 @@
syntax = "proto3";
package source;
option go_package = "github.com/abc950309/tapewriter/entity";
import "copy_status.proto";
message SourceFile {
string path = 1;
string parent_path = 2;
string name = 3;
int64 mode = 17;
int64 mod_time = 18;
int64 size = 19;
}
message Source {
string base = 1;
repeated string path = 2;
}
message SourceState {
Source source = 1;
int64 size = 2;
copy_status.CopyStatus status = 3;
optional string message = 4;
}