MCPcopy Create free account

hub / github.com/benhoyt/gogit / functions

Functions21 in github.com/benhoyt/gogit

↓ 19 callersFunctionassert
(cond bool, format string, args ...any)
gogit.go:97
↓ 17 callersFunctioncheck
(value T, err error)
gogit.go:90
↓ 7 callersFunctioncheck0
(err error)
gogit.go:84
↓ 3 callersFunctionhashObject
Hash and write the given data as a git object of the given type.
gogit.go:147
↓ 3 callersFunctionreadObject
Read git object with given hash (or hash prefix).
gogit.go:176
↓ 2 callersFunctionaddBasicAuth
Add basic authentication header to request.
gogit.go:260
↓ 2 callersFunctioncompress
Helper to zlib-compress a slice of bytes.
gogit.go:389
↓ 2 callersFunctionextractLines
Extract list of lines from given server data.
gogit.go:267
↓ 2 callersFunctionfindCommitObjects
Find set of object hashes in this commit (recursively), its tree, its parents, and the hash of the commit itself.
gogit.go:304
↓ 2 callersFunctiongetLocalHash
Return current commit hash of the local master branch.
gogit.go:167
↓ 1 callersFunctioncommit
Commit tree of given paths to master, returning the commit hash.
gogit.go:112
↓ 1 callersFunctioncreatePack
Create pack file containing all objects in given list of object hashes.
gogit.go:354
↓ 1 callersFunctionencodePackObject
Encode a single object in pack file.
gogit.go:370
↓ 1 callersFunctionfindMissingObjects
Find sorted list of object hashes in local commit that are missing at the remote.
gogit.go:286
↓ 1 callersFunctionfindObject
Find object with given hash prefix and return path to object.
gogit.go:195
↓ 1 callersFunctionfindTreeObjects
Find set of object hashes in this tree, including the hash of the tree itself.
gogit.go:333
↓ 1 callersFunctiongetRemoteHash
Get current hash of master branch on remote.
gogit.go:238
↓ 1 callersFunctioninitRepo
Create the directories and files required to initialise a git repo.
gogit.go:104
↓ 1 callersFunctionpush
Push master branch (and missing objects) to remote.
gogit.go:211
↓ 1 callersFunctionwriteTree
Write a "tree" object with the given paths (sub-trees are not supported).
gogit.go:133
Functionmain
()
gogit.go:28