unixfs.proto 301 Bytes
Newer Older
1
package unixfs.pb;
2

3
message Data {
4 5 6 7
	enum DataType {
		Raw = 0;
		Directory = 1;
		File = 2;
8
		Metadata = 3;
9
		Symlink = 4;
10 11 12 13 14 15 16
	}

	required DataType Type = 1;
	optional bytes Data = 2;
	optional uint64 filesize = 3;
	repeated uint64 blocksizes = 4;
}
17 18 19 20

message Metadata {
	required string MimeType = 1;
}