Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,4 @@ crashlytics.properties
crashlytics-build.properties
fabric.properties

.python-version
1,684 changes: 1,684 additions & 0 deletions ethpm/_utils/protobuf/gogo_pb2.py

Large diffs are not rendered by default.

318 changes: 318 additions & 0 deletions ethpm/_utils/protobuf/ipfs_file_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions ethpm/_utils/protobuf/merkledag.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
package merkledag.pb;

import "github.com/gogo/protobuf/gogoproto/gogo.proto";

option (gogoproto.gostring_all) = true;
option (gogoproto.equal_all) = true;
option (gogoproto.verbose_equal_all) = true;
option (gogoproto.goproto_stringer_all) = false;
option (gogoproto.stringer_all) = true;
option (gogoproto.populate_all) = true;
option (gogoproto.testgen_all) = true;
option (gogoproto.benchgen_all) = true;
option (gogoproto.marshaler_all) = true;
option (gogoproto.sizer_all) = true;
option (gogoproto.unmarshaler_all) = true;


// An IPFS MerkleDAG Link
message PBLink {

// multihash of the target object
optional bytes Hash = 1;

// utf string name. should be unique per object
optional string Name = 2;

// cumulative size of target object
optional uint64 Tsize = 3;
}

// An IPFS MerkleDAG Node
message PBNode {

// refs to other objects
repeated PBLink Links = 2;

// opaque user data
optional bytes Data = 1;
}
Loading