Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
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
8
addIndexFromFile
Method · 0.65
isSymlink
Method · 0.65
copyFileToStorage
Method · 0.65
doUpdateFileToIndex
Method · 0.65
calculateChildren
Method · 0.65
newChildNode
Method · 0.65
checkExecPerm
Method · 0.65
writeFilePatchHeader
Method · 0.65
Implementers
2
changeEntryWrapper
plumbing/object/patch.go
testFile
plumbing/format/diff/unified_encoder_t
Calls
no outgoing calls
Tested by
1
checkExecPerm
Method · 0.52