MCPcopy Create free account

hub / github.com/cryptix/git-remote-ipfs / functions

Functions44 in github.com/cryptix/git-remote-ipfs

↓ 24 callersFunctioncheckFatal
(t *testing.T, err error)
fetch_test.go:75
↓ 8 callersMethodString
()
internal/path/path.go:36
↓ 6 callersFunctioncloneAndCheckout
helpers
fetch_test.go:61
↓ 5 callersFunctionrmDir
(t *testing.T, dir string)
fetch_test.go:100
↓ 4 callersFunctionParsePath
(txt string)
internal/path/path.go:48
↓ 3 callersFunctionParseCidToPath
(txt string)
internal/path/path.go:82
↓ 3 callersFunctionfetchAndWriteObj
fetchAndWriteObj looks for the loose object under 'thisGitRepo' global git dir and usses an io.TeeReader to write it to the local repo
fetch.go:63
↓ 2 callersFunctionlogFatal
(msg string)
main.go:73
↓ 1 callersFunctionFromCid
FromCid safely converts a cid.Cid type to a Path type
internal/path/path.go:41
↓ 1 callersFunctionWalk
(root string, walkFn WalkFunc)
list.go:117
↓ 1 callersFunctioncheckInstalled
checks for the needed tools
fetch_test.go:30
↓ 1 callersFunctionfetchObject
"fetch $sha1 $ref" method 1 - unpacking loose objects - look for it in ".git/objects/substr($sha1, 0, 2)/substr($sha, 2)" - if found, download it and
fetch.go:19
↓ 1 callersFunctionfetchPackedObject
"fetch $sha1 $ref" method 2 - unpacking packed objects - look for it in packfiles by fetching ".git/objects/pack/*.idx" and looking at each idx with c
fetch.go:104
↓ 1 callersFunctionfetchTree
(sha1 string)
fetch.go:40
↓ 1 callersFunctiongitCatData
(sha1, kind string)
git.go:96
↓ 1 callersFunctiongitCatKind
(sha1 string)
git.go:79
↓ 1 callersFunctiongitCatSize
(sha1 string)
git.go:86
↓ 1 callersFunctiongitFlattenObject
(sha1 string)
git.go:45
↓ 1 callersFunctiongitIsAncestor
(a, ref string)
git.go:128
↓ 1 callersFunctiongitListObjects
return the objects reachable from ref excluding the objects reachable from exclude
git.go:19
↓ 1 callersFunctiongitRefHash
(ref string)
git.go:121
↓ 1 callersFunctionhashMap
(t *testing.T, dir string, files map[string]string)
fetch_test.go:102
↓ 1 callersFunctioninterrupt
()
helpers.go:27
↓ 1 callersFunctionlistHeadRef
()
list.go:33
↓ 1 callersFunctionlistInfoRefs
(forPush bool)
list.go:14
↓ 1 callersFunctionlistIterateRefs
(forPush bool)
list.go:54
↓ 1 callersFunctionmkRandTmpDir
oh well.. just some rand string
fetch_test.go:82
↓ 1 callersFunctionpush
(src, dst string)
push.go:13
↓ 1 callersFunctionrecurseCommit
(sha1 string)
fetch.go:23
↓ 1 callersFunctionspeakGit
speakGit acts like a git-remote-helper see this for more: https://www.kernel.org/pub/software/scm/git/docs/gitremote-helpers.html
main.go:125
↓ 1 callersFunctionwalk
(path string, info *shell.LsLink, walkFn WalkFunc)
list.go:88
FunctionFromSegments
(prefix string, seg ...string)
internal/path/path.go:44
FunctionFromString
FromString safely converts a string type to a Path type
internal/path/path.go:20
MethodIsValid
()
internal/path/path.go:95
MethodSegments
()
internal/path/path.go:24
FunctionTestClone
(t *testing.T)
fetch_test.go:49
FunctionTestClone_unpacked
(t *testing.T)
fetch_test.go:54
FunctionTestPathParsing
(t *testing.T)
internal/path/path_test.go:7
FunctionTestPush
(t *testing.T)
push_test.go:11
FunctionTestPush_twice
(t *testing.T)
push_test.go:57
FunctionfetchFullBareRepo
(root string)
helpers.go:12
Functioninit
rand strings
fetch_test.go:25
Functionmain
()
main.go:78
Functionusage
()
main.go:56