go-git.v4: gopkg.in/src-d/go-git.v4/utils/merkletrie/filesystem Index | Files

package filesystem

import "gopkg.in/src-d/go-git.v4/utils/merkletrie/filesystem"


Package Files


func NewRootNode Uses

func NewRootNode(
    fs billy.Filesystem,
    submodules map[string]plumbing.Hash,
) noder.Noder

NewRootNode returns the root node based on a given billy.Filesystem.

In order to provide the submodule hash status, a map[string]plumbing.Hash should be provided where the key is the path of the submodule and the commit of the submodule HEAD

Package filesystem imports 7 packages (graph) and is imported by 1 packages. Updated 2019-08-14. Refresh now. Tools for package owners.