Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cryptix/git-remote-ipfs
/ functions
Functions
44 in github.com/cryptix/git-remote-ipfs
⨍
Functions
44
◇
Types & classes
4
↓ 24 callers
Function
checkFatal
(t *testing.T, err error)
fetch_test.go:75
↓ 8 callers
Method
String
()
internal/path/path.go:36
↓ 6 callers
Function
cloneAndCheckout
helpers
fetch_test.go:61
↓ 5 callers
Function
rmDir
(t *testing.T, dir string)
fetch_test.go:100
↓ 4 callers
Function
ParsePath
(txt string)
internal/path/path.go:48
↓ 3 callers
Function
ParseCidToPath
(txt string)
internal/path/path.go:82
↓ 3 callers
Function
fetchAndWriteObj
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 callers
Function
logFatal
(msg string)
main.go:73
↓ 1 callers
Function
FromCid
FromCid safely converts a cid.Cid type to a Path type
internal/path/path.go:41
↓ 1 callers
Function
Walk
(root string, walkFn WalkFunc)
list.go:117
↓ 1 callers
Function
checkInstalled
checks for the needed tools
fetch_test.go:30
↓ 1 callers
Function
fetchObject
"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 callers
Function
fetchPackedObject
"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 callers
Function
fetchTree
(sha1 string)
fetch.go:40
↓ 1 callers
Function
gitCatData
(sha1, kind string)
git.go:96
↓ 1 callers
Function
gitCatKind
(sha1 string)
git.go:79
↓ 1 callers
Function
gitCatSize
(sha1 string)
git.go:86
↓ 1 callers
Function
gitFlattenObject
(sha1 string)
git.go:45
↓ 1 callers
Function
gitIsAncestor
(a, ref string)
git.go:128
↓ 1 callers
Function
gitListObjects
return the objects reachable from ref excluding the objects reachable from exclude
git.go:19
↓ 1 callers
Function
gitRefHash
(ref string)
git.go:121
↓ 1 callers
Function
hashMap
(t *testing.T, dir string, files map[string]string)
fetch_test.go:102
↓ 1 callers
Function
interrupt
()
helpers.go:27
↓ 1 callers
Function
listHeadRef
()
list.go:33
↓ 1 callers
Function
listInfoRefs
(forPush bool)
list.go:14
↓ 1 callers
Function
listIterateRefs
(forPush bool)
list.go:54
↓ 1 callers
Function
mkRandTmpDir
oh well.. just some rand string
fetch_test.go:82
↓ 1 callers
Function
push
(src, dst string)
push.go:13
↓ 1 callers
Function
recurseCommit
(sha1 string)
fetch.go:23
↓ 1 callers
Function
speakGit
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 callers
Function
walk
(path string, info *shell.LsLink, walkFn WalkFunc)
list.go:88
Function
FromSegments
(prefix string, seg ...string)
internal/path/path.go:44
Function
FromString
FromString safely converts a string type to a Path type
internal/path/path.go:20
Method
IsValid
()
internal/path/path.go:95
Method
Segments
()
internal/path/path.go:24
Function
TestClone
(t *testing.T)
fetch_test.go:49
Function
TestClone_unpacked
(t *testing.T)
fetch_test.go:54
Function
TestPathParsing
(t *testing.T)
internal/path/path_test.go:7
Function
TestPush
(t *testing.T)
push_test.go:11
Function
TestPush_twice
(t *testing.T)
push_test.go:57
Function
fetchFullBareRepo
(root string)
helpers.go:12
Function
init
rand strings
fetch_test.go:25
Function
main
()
main.go:78
Function
usage
()
main.go:56