Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/driusan/dgit
/ functions
Functions
646 in github.com/driusan/dgit
⨍
Functions
646
◇
Types & classes
156
↓ 1 callers
Function
Submodule
(c *git.Client, args []string)
cmd/submodule.go:12
↓ 1 callers
Function
SymbolicRef
(c *git.Client, args []string)
cmd/symbolicref.go:11
↓ 1 callers
Function
SymbolicRefDelete
(c *Client, opts SymbolicRefOptions, symname SymbolicRef)
git/symbolicref.go:55
↓ 1 callers
Method
TabString
()
git/showref.go:53
↓ 1 callers
Function
Tag
Implements the git tag command line parsing.
cmd/tag.go:19
↓ 1 callers
Function
TagDelete
(c *Client, opts TagOptions, tagnames []Refname)
git/tag.go:101
↓ 1 callers
Method
TreeID
(cl *Client)
git/sha1.go:733
↓ 1 callers
Function
UnpackObjects
Parses the arguments from git-unpack-objects as they were passed on the commandline and calls git.CatFiles
cmd/unpackobjects.go:13
↓ 1 callers
Function
UpdateIndex
(c *git.Client, args []string)
cmd/updateindex.go:41
↓ 1 callers
Function
UpdateIndexCacheInfo
(c *Client, idx *Index, opts UpdateIndexOptions)
git/updateindex.go:236
↓ 1 callers
Function
UpdateIndexFromReader
(c *Client, opts UpdateIndexOptions, r io.Reader)
git/updateindex.go:131
↓ 1 callers
Function
UpdateIndexRefresh
(c *Client, idx *Index, opts UpdateIndexOptions)
git/updateindex.go:219
↓ 1 callers
Function
UpdateRef
(c *git.Client, args []string)
cmd/updateref.go:11
↓ 1 callers
Function
Var
(c *git.Client, args []string)
cmd/var.go:73
↓ 1 callers
Method
WriteFile
(w io.Writer)
git/config.go:170
↓ 1 callers
Method
WriteIndex
This will write a new index file to w by doing the following: 1. Sort the objects in g.Index to ascending order based on name and update g.NumberIndex
git/index.go:620
↓ 1 callers
Function
WriteTree
(c *Client, opts WriteTreeOptions)
git/writetree.go:15
↓ 1 callers
Function
WriteTree
WriteTree implements the git write-tree command on the Git repository pointed to by c.
cmd/writetree.go:12
↓ 1 callers
Method
WriteVariable
(w io.Writer, typ PackEntryType)
git/packfile.go:132
↓ 1 callers
Method
ancestors
(c *Client)
git/sha1.go:415
↓ 1 callers
Method
calculateTrailer
calculates and stores the trailer into the packfile.
git/indexpack.go:618
↓ 1 callers
Function
catFilePretty
(c *Client, obj GitObject, opts CatFileOptions)
git/catfile.go:21
↓ 1 callers
Function
commitishName
(c Commitish)
git/merge.go:11
↓ 1 callers
Function
compareIndex
(got, want Index)
git/updateindex_test.go:12
↓ 1 callers
Function
copyApplyDir
RestoreDir takes the directory dir, which is the directory that apply did its work in, and copies it back into the workdir.
git/apply.go:139
↓ 1 callers
Function
copyFromIndex
(c *Client, idx *Index, file IndexPath, dst string)
git/apply.go:218
↓ 1 callers
Function
createZipArchive
(c *Client, opts ArchiveOptions, sha Sha1, mtime time.Time, entries []*IndexEntry)
git/archive.go:105
↓ 1 callers
Method
equals
Used by the test suite
git/delta/calculator.go:23
↓ 1 callers
Function
expandGitTreeIntoIndexesRecursive
This should not be called directly. It recurses into sub-trees to fully expand all child trees. After calling this function the IndexEntries are *not*
git/expandtree.go:42
↓ 1 callers
Function
extractPatchHunks
(name IndexPath, filepatch string)
git/interactive.go:46
↓ 1 callers
Function
fetchPackDone
fetchPackDone makes a single request over conn and declares it done. It returns the refs from the connection that were fetched.
git/fetchpack.go:105
↓ 1 callers
Function
findArchiveFormat
(input string)
cmd/archive.go:13
↓ 1 callers
Function
findGitDir
Walks from the current directory to find a .git directory
git/client.go:172
↓ 1 callers
Function
findGlobalConfigFile
()
git/config.go:290
↓ 1 callers
Function
findUntrackedFilesFromDir
Finds things that aren't tracked, and creates fake IndexEntrys for them to be merged into the output if --others is passed.
git/lsfiles.go:15
↓ 1 callers
Function
formatCommitMedium
(cmt CommitID, c *Client)
git/show.go:64
↓ 1 callers
Method
getPackedObject
Returns the byte array of a packed object from packfile, after resolving any deltas. (packfile should be the base name with no extension.)
git/objects.go:211
↓ 1 callers
Function
getUserPassword
(url string)
git/password_plan9.go:7
↓ 1 callers
Function
grepFile
(filename, pattern string, opts GrepOptions)
git/grep.go:79
↓ 1 callers
Function
hostKeyCallback
this should be overridden for various platforms. Plan9/9front should parse $home/lib/sshthumbs, unix should parse ~/.ssh/known_hosts, and Windows shou
git/sshconn.go:154
↓ 1 callers
Function
identicalInstructions
(want []instruction, got *list.List)
git/delta/calculator_test.go:78
↓ 1 callers
Function
indexClosure
(c *Client, opts IndexPackOptions, deltas *list.List)
git/indexpack.go:774
↓ 1 callers
Function
longestPrefix
Returns the longest prefix of dst that is found somewhere in src.
git/delta/calculator.go:122
↓ 1 callers
Function
matchesGlob
(path string, isDir bool, pattern string)
git/ignore.go:266
↓ 1 callers
Function
nextPrefixStart
Find the start of the next prefix of dst that has a size of at least minCopy
git/delta/calculator.go:161
↓ 1 callers
Function
objectHeaderCount
(content []byte)
git/objects.go:103
↓ 1 callers
Function
parseSparsePatterns
(c *Client, opt *ReadTreeOptions)
git/readtree.go:106
↓ 1 callers
Function
printNoUserMessage
(committer git.Person)
cmd/commit.go:13
↓ 1 callers
Function
protectHFS
(c *Client)
git/protectfs.go:6
↓ 1 callers
Function
protectNTFS
(c *Client)
git/protectfs.go:10
↓ 1 callers
Function
readLine
(prompt string)
git/retrieve.go:53
↓ 1 callers
Function
runCase
(label string, tc PackfileTestCase, t *testing.T)
git/packfile_test.go:17
↓ 1 callers
Function
sha1FromString
(s string)
cmd/updateindex_test.go:9
↓ 1 callers
Function
testMergeBaseSimpleSetup
Does the setup for TestMergeBase so that the test can focus on the real merge-base test. This sets up a tree that looks like B A \ C So that we can
git/mergebase_test.go:22
↓ 1 callers
Function
updateApplyIndex
RestoreDir takes the directory dir, which is the directory that apply did its work in, and copies it back into the workdir.
git/apply.go:153
↓ 1 callers
Function
v2PackIndexHasSha1
reads a v2 pack file from r and tells if it has object inside it.
git/indexpack.go:111
↓ 1 callers
Function
v2PackObjectListFromIndex
Gets a list of objects in a pack file according to the index.
git/indexpack.go:92
↓ 1 callers
Function
verifyHead
Verifies the HEAD pointer for fsck.
git/fsck.go:193
Method
Ancestors
(c *Client)
git/revparse.go:44
Function
BenchmarkIndexPackFromFile
(b *testing.B)
git/indexpack_test.go:10
Function
BenchmarkIndexPackFromReader
(b *testing.B)
git/indexpack_test.go:44
Function
BenchmarkLogHead
(b *testing.B)
cmd/log_test.go:9
Function
BenchmarkRevListHead
(b *testing.B)
cmd/rev-list_test.go:9
Function
BenchmarkRevListHeadExclude
(b *testing.B)
cmd/rev-list_test.go:21
Function
BenchmarkRevListHeadExcludeObjects
(b *testing.B)
cmd/rev-list_test.go:33
Method
CTime
()
git/file_ctime_netbsd.go:10
Method
CTime
Ctime returns the CTime and CTimeNano parts of a time struct for the ctime of this file. On systems where either there's no ctime, we don't know how t
git/file_ctime_other.go:12
Method
CTime
()
git/file_ctime_darwin.go:7
Method
Capabilities
()
git/remote.go:237
Function
CheckoutIndexFromReader
Performs a CheckoutIndex on the files read from opts.Stdin
git/checkoutindex.go:64
Method
Close
()
git/localconn.go:75
Method
Close
()
git/httpconn.go:319
Method
Close
()
git/sshconn.go:86
Method
Close
()
git/gitconn.go:51
Method
Close
Calling Close does not close the wrapped io.Reader originally passed to NewReader.
zlib/reader.go:150
Method
CommitID
(c *Client)
git/showref.go:69
Method
CommitID
(c *Client)
git/symbolicref.go:19
Method
CommitID
(c *Client)
git/sha1.go:66
Method
CommitID
(c *Client)
git/fetchpack.go:40
Method
CompressedSize
()
zlib/reader.go:53
Method
CompressedWriter
Writes the object to w in compressed form
git/sha1.go:71
Method
Delim
()
git/localconn.go:121
Method
Delim
()
git/httpconn.go:368
Method
Delim
()
git/sshconn.go:130
Method
Delim
()
git/gitconn.go:113
Method
ExecEditor
Will invoke the Client's editor to edit the file f.
git/editor_plan9.go:10
Method
Exists
returns true if the reference name exists under the client's GitDir.
git/fetchpack.go:16
Method
Flush
()
git/localconn.go:116
Method
Flush
()
git/httpconn.go:352
Method
Flush
()
git/sshconn.go:125
Method
Flush
Flush flushes the Writer to its underlying io.Writer.
zlib/writer.go:165
Method
Get
()
cmd/flag.go:28
Method
Get
()
cmd/flag.go:62
Method
Get
()
cmd/flag.go:78
Method
GetAllObjects
(cl *Client)
git/sha1.go:471
Method
GetAuthor
Returns the author that should be used for a commit message. If time t is provided,
git/client.go:392
Method
GetCommitter
Returns the author that should be used for a commit message. If time t is provided, it will return a person with the time part populated to t.
git/client.go:433
Method
GetContent
()
git/objects.go:35
Method
GetContent
()
git/objects.go:60
Method
GetContent
()
git/objects.go:86
← previous
next →
401–500 of 646, ranked by callers