Skip to content

creationix/git-repo

Repository files navigation

git-repo

A local git repository using any pluggable backend.

Commit

{
  hash: hash,
  commit: {
    tree: hash
    parents: [parent1, parent2, ...]
    key: value
    key2: value2
    ...
    message: message
  }
}

Tree

{
  hash: hash,
  tree: {
    path: {mode: mode, hash: hash},
    path2: {mode: mode, hash: hash},
    ...
  ]
}

Blob

{
  hash: hash,
  blob: {
    size: size
    source: source<binary>
  }
}

Tag

{
  hash: hash,
  tag: {
    tree: hash
    key: value
    key2: value2
    ...
    message: message
  }
}

About

A local git repository using any pluggable backend.

Resources

Stars

Watchers

Forks

Packages

No packages published