MCPcopy Index your code
hub / github.com/go-git/go-git / Mode

Method Mode

plumbing/format/diff/patch.go:47–47  ·  view source on GitHub ↗

Mode returns the FileMode.

()

Source from the content-addressed store, hash-verified

45 Hash() plumbing.Hash
46 // Mode returns the FileMode.
47 Mode() filemode.FileMode
48 // Path returns the complete Path to the file, including the filename.
49 Path() string
50}

Callers 9

isSymlinkMethod · 0.65
copyFileToStorageMethod · 0.65
doUpdateFileToIndexMethod · 0.65
calculateChildrenMethod · 0.65
newChildNodeMethod · 0.65
isReadOnlyFunction · 0.65
fileExistsFunction · 0.65
checkExecPermMethod · 0.65
writeFilePatchHeaderMethod · 0.65

Implementers 2

changeEntryWrapperplumbing/object/patch.go
testFileplumbing/format/diff/unified_encoder_t

Calls

no outgoing calls

Tested by 1

checkExecPermMethod · 0.52