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

Function LsFiles

git/lsfiles.go:168–371  ·  view source on GitHub ↗

LsFiles implements the git ls-files command. It returns an array of files that match the options passed.

(c *Client, opt LsFilesOptions, files []File)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

LsFilesFunction · 0.92
CheckIgnoreFunction · 0.92
RevParsePathFunction · 0.70
TestUnidiffApplyFunction · 0.70
TestCheckoutIndexFunction · 0.70
checkMergeAndUpdateFunction · 0.70
CleanFunction · 0.70
CheckoutIndexUncommitedFunction · 0.70
StatusLongFunction · 0.70
StatusShortFunction · 0.70
TestUnmergedCommitFunction · 0.70
TestResetFilesFunction · 0.70

Calls 15

FileTypeAlias · 0.85
HashFileFunction · 0.85
ParseIgnorePatternsFunction · 0.85
lsByPathTypeAlias · 0.85
ReadIndexMethod · 0.80
FilePathMethod · 0.80
IsDirMethod · 0.80
IndexPathMethod · 0.80
HasPrefixMethod · 0.80
MatchGlobMethod · 0.80
SkipWorktreeMethod · 0.80

Tested by 5

TestUnidiffApplyFunction · 0.56
TestCheckoutIndexFunction · 0.56
TestUnmergedCommitFunction · 0.56
TestResetFilesFunction · 0.56
TestLsFilesFunction · 0.56