commit

package
v0.0.0-...-fd22efe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2016 License: MIT Imports: 1 Imported by: 0

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

func (c *Commit) IPLDValidate() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳