MCPcopy Create free account
hub / github.com/driusan/dgit / RevParsePath

Function RevParsePath

git/revparse.go:103–171  ·  view source on GitHub ↗

RevParsePath parses a path spec such as `HEAD:README.md` into the value that it represents. The Sha1 returned may be either a tree or a blob, depending on the pathspec.

(c *Client, opt *RevParseOptions, arg string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

RevParseFunction · 0.85

Calls 11

TreeIDMethod · 0.95
FileTypeAlias · 0.85
IndexPathTypeAlias · 0.85
Sha1FromStringFunction · 0.85
TreeIDTypeAlias · 0.85
CommitIDTypeAlias · 0.85
RevParseTreeishFunction · 0.85
Sha1TypeAlias · 0.85
expandGitTreeIntoIndexesFunction · 0.85
TypeMethod · 0.80
LsFilesFunction · 0.70

Tested by

no test coverage detected