Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct { Parents []ipld.Link // Author ipld.Link // link to an Authorship Committer ipld.Link // link to an Authorship Object ipld.Link // what we version ("tree" in git) Comment String // describes the commit }
this would serialize to:
{ "@context": "/ipfs/<hash-to-commit-schema>/commit" "parents": [ "<hash1>", ... ] "author": "<hash2>", "committer": "<hash3>", "object": "<hash4>", "comment": "comment as a string" }
func (*Commit) IPLDValidate ¶
Click to show internal directories.
Click to hide internal directories.