MCPcopy Create free account
hub / github.com/go-git/go-git / init

Function init

worktree_bsd.go:12–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10)
11
12func init() {
13 fillSystemInfo = func(e *index.Entry, sys interface{}) {
14 if os, ok := sys.(*syscall.Stat_t); ok {
15 e.CreatedAt = time.Unix(os.Atimespec.Unix())
16 e.Dev = uint32(os.Dev)
17 e.Inode = uint32(os.Ino)
18 e.GID = os.Gid
19 e.UID = os.Uid
20 }
21 }
22}
23
24func isSymlinkWindowsNonAdmin(err error) bool {
25 return false

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected