Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/go-git/go-git
/ Stat
Method
Stat
plumbing/format/idxfile/decoder.go:56–56 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
54
// [NewDecoder] signature stays compatible with v5.
55
type
statInput
interface
{
56
Stat() (fs.FileInfo, error)
57
}
58
59
// Decoder reads and decodes idx files from an input stream.
Callers
15
TestPlainCloneBareAndShared
Method · 0.65
TestPlainCloneShared
Method · 0.65
TestPlainCloneContextNonExistentWithExistentDir
Method · 0.65
TestPlainCloneContextNonExistentWithNonExistentDir
Method · 0.65
TestPlainCloneContextNonExistentWithNotDir
Method · 0.65
TestPlainCloneContextNonExistentWithNotEmptyDir
Method · 0.65
Stat
Method · 0.65
PlainOpenWithOptions
Function · 0.65
dotGitToOSFilesystems
Function · 0.65
dotGitCommonDirectory
Function · 0.65
checkIfCleanupIsNeeded
Function · 0.65
TestCheckoutKeep
Method · 0.65
Implementers
3
worktreeFilesystem
worktree_fs.go
RepositoryFilesystem
storage/filesystem/dotgit/repository_f
bytesInput
plumbing/format/idxfile/helpers_test.g
Calls
no outgoing calls
Tested by
15
TestPlainCloneBareAndShared
Method · 0.52
TestPlainCloneShared
Method · 0.52
TestPlainCloneContextNonExistentWithExistentDir
Method · 0.52
TestPlainCloneContextNonExistentWithNonExistentDir
Method · 0.52
TestPlainCloneContextNonExistentWithNotDir
Method · 0.52
TestPlainCloneContextNonExistentWithNotEmptyDir
Method · 0.52
TestCheckoutKeep
Method · 0.52
TestRemoveDirectory
Method · 0.52
TestRemoveDirectoryUntracked
Method · 0.52
TestRemoveGlobDirectory
Method · 0.52
TestResetLingeringDirectories
Method · 0.52
TestUpdateWithRecursion
Method · 0.52