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

Function findUntrackedFilesFromDir

git/lsfiles.go:15–115  ·  view source on GitHub ↗

Finds things that aren't tracked, and creates fake IndexEntrys for them to be merged into the output if --others is passed.

(c *Client, opts LsFilesOptions, root, parent, dir File, tracked map[IndexPath]bool, recursedir bool, ignorePatterns []IgnorePattern)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

LsFilesFunction · 0.85

Calls 11

StringMethod · 0.95
IndexPathMethod · 0.95
ParseIgnorePatternsFunction · 0.85
FileTypeAlias · 0.85
IndexPathTypeAlias · 0.85
NameMethod · 0.80
IsDirMethod · 0.80
HasPrefixMethod · 0.80
StringMethod · 0.65
ExistsMethod · 0.45
MatchesMethod · 0.45

Tested by

no test coverage detected