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
Method
Close
()
git/client.go:131
↓ 1 callers
Function
Commit
Commit implements the command "git commit" in the repository pointed to by c.
cmd/commit.go:31
↓ 1 callers
Method
CommitID
(c *Client)
git/refspec.go:86
↓ 1 callers
Method
CommitID
Implements Commitish interface on Branch.
git/refspec.go:159
↓ 1 callers
Function
CommitTree
(c *git.Client, args []string)
cmd/committree.go:13
↓ 1 callers
Method
CompareStat
Refreshes the stat information for this entry in the index against the stat info on the filesystem for things that we know about.
git/index.go:140
↓ 1 callers
Function
Config
(c *git.Client, args []string)
cmd/config.go:12
↓ 1 callers
Method
Delim
Sends a Delimiter packet in protocol V2
git/remote.go:172
↓ 1 callers
Function
Diff
DiffFiles implements the git diff-files command. It compares the file system to the index.
git/diff.go:22
↓ 1 callers
Function
Diff
(c *git.Client, args []string)
cmd/diff.go:12
↓ 1 callers
Function
DiffFiles
(c *git.Client, args []string)
cmd/difffiles.go:10
↓ 1 callers
Function
DiffIndex
(c *git.Client, args []string)
cmd/diffindex.go:11
↓ 1 callers
Function
DiffTree
(c *git.Client, args []string)
cmd/difftree.go:11
↓ 1 callers
Method
ExternalDiff
Returns a diff in the format of the command "diff". Note: this invokes an external diff tool. It should be rewritten in Go to avoid the overhead (and
git/hashdiff.go:40
↓ 1 callers
Function
Fetch
(c *git.Client, args []string)
cmd/fetch.go:23
↓ 1 callers
Function
FetchPack
(c *git.Client, args []string)
cmd/fetchpack.go:9
↓ 1 callers
Method
Flush
()
git/gitconn.go:108
↓ 1 callers
Function
ForEachRefCallback
Calls callback for each ref under c's GitDir which has prefix as a prefix.
git/foreachref.go:10
↓ 1 callers
Method
FormatCommit
(c *Client, cmt CommitID)
git/show.go:10
↓ 1 callers
Method
FormatMedium
(cl *Client)
git/sha1.go:531
↓ 1 callers
Function
Fsck
Fsck implements the "git fsck" subcommand. It prints any error encountered to the stderr argument, and returns an array of said errors.
git/fsck.go:34
↓ 1 callers
Function
Fsck
(c *git.Client, args []string)
cmd/fsck.go:10
↓ 1 callers
Method
GetAllObjectsExcept
returns a list of all objects in c excluding those in excludeList. It also populates excludeList with any objects encountered.
git/sha1.go:477
↓ 1 callers
Method
GetBranches
Return valid branches that a Client knows about.
git/client.go:300
↓ 1 callers
Method
GetCachedConfig
Gets a cached config variable if it is there. Otherwise, it returns and empty string.
git/client.go:627
↓ 1 callers
Method
GetCommitterDate
(c *Client)
git/sha1.go:202
↓ 1 callers
Method
GetConfig
(name string)
git/config.go:107
↓ 1 callers
Method
GetLocalRefs
Gets a list of local references cached for this Remote
git/remote.go:89
↓ 1 callers
Method
GetObjectMetadata
Find the object in the table.
git/indexpack.go:410
↓ 1 callers
Method
GetRemoteBranches
Return valid branches that a Client knows about.
git/client.go:325
↓ 1 callers
Method
GetSha1
Looks up the Sha1 of path currently stored in the index. Will return the 0 Sha1 if not found.
git/index.go:657
↓ 1 callers
Method
GetStageMap
()
git/index.go:568
↓ 1 callers
Method
GetTagObject
(tag Sha1)
git/objects.go:237
↓ 1 callers
Method
GetTrailer
()
git/indexpack.go:67
↓ 1 callers
Method
GetUnmerged
()
git/index.go:580
↓ 1 callers
Function
Grep
(c *git.Client, args []string)
cmd/grep.go:11
↓ 1 callers
Method
HasObject
(s Sha1)
git/indexpack.go:574
↓ 1 callers
Function
HashObject
(c *git.Client, args []string)
cmd/hashobject.go:12
↓ 1 callers
Function
IndexPack
Parses the arguments from git-unpack-objects as they were passed on the commandline and calls git.CatFiles
cmd/indexpack.go:16
↓ 1 callers
Function
Init
(c *git.Client, args []string)
cmd/init.go:12
↓ 1 callers
Method
IsFile
Returns true if the remote points to a local filesystem path.
git/remote.go:84
↓ 1 callers
Method
IsInsideWorkTree
Returns true if path is inside of the client's work tree.
git/client.go:154
↓ 1 callers
Method
Len
()
git/index.go:670
↓ 1 callers
Function
LsFiles
Parses the arguments from git-ls-files as if they were passed on the commandline and calls git.LsFiles
cmd/lsfiles.go:12
↓ 1 callers
Function
LsRemote
(c *Client, opts LsRemoteOptions, r Remote, patterns []string)
git/lsremote.go:20
↓ 1 callers
Function
LsRemote
(c *git.Client, args []string)
cmd/lsremote.go:11
↓ 1 callers
Function
LsTree
(c *git.Client, args []string)
cmd/lstree.go:11
↓ 1 callers
Method
MatchGlob
Returns true if f matches the filesystem glob pattern pattern.
git/file.go:176
↓ 1 callers
Method
MatchesRefSpecSrc
MatchesRSSrc determines whether the ref matches the src of a refspec. If it matches the src, it also returns the destination
git/showref.go:28
↓ 1 callers
Function
Merge
(c *git.Client, args []string)
cmd/merge.go:17
↓ 1 callers
Function
MergeAbort
Aborts an in progress merge as "git merge --abort" (Not implemented)
git/merge.go:65
↓ 1 callers
Function
MergeBase
(c *git.Client, args []string)
cmd/mergebase.go:15
↓ 1 callers
Function
MergeBaseOctopus
(c *Client, options MergeBaseOptions, commits []Commitish)
git/mergebase.go:102
↓ 1 callers
Function
MergeFile
(c *git.Client, args []string)
cmd/mergefile.go:11
↓ 1 callers
Function
MkTree
Mktree reads a tree from r in the same format as ls-tree and returns the TreeID of the converted tree.
git/mktree.go:19
↓ 1 callers
Function
MkTree
(c *git.Client, args []string)
cmd/mktree.go:10
↓ 1 callers
Function
MkTreeBatch
MkTreeBatch reads trees separated by newlines from r, and writes the TreeID to w.
git/mktree.go:86
↓ 1 callers
Function
Mktag
Implements the git mktag command line parsing.
cmd/mktag.go:12
↓ 1 callers
Function
NearestCommonParent
(c *Client, com, other Commitish)
git/sha1.go:451
↓ 1 callers
Method
Negates
()
git/ignore.go:61
↓ 1 callers
Function
NewReader
NewReader creates a new ReadCloser. Reads from the returned ReadCloser read and decompress data from r. The implementation buffers input and may read
zlib/reader.go:72
↓ 1 callers
Function
NewReaderDict
NewReaderDict is like NewReader but uses a preset dictionary. NewReaderDict ignores the dictionary if the compressed data does not refer to it. If the
zlib/reader.go:98
↓ 1 callers
Function
PackObjects
(c *git.Client, input io.Reader, args []string)
cmd/packobjects.go:16
↓ 1 callers
Method
ParseSectionHeader
(headerline string)
git/config.go:205
↓ 1 callers
Function
Pull
(c *Client, opts PullOptions, repository Remote, remotebranches []string)
git/pull.go:10
↓ 1 callers
Function
Pull
(c *git.Client, args []string)
cmd/pull.go:11
↓ 1 callers
Function
Push
(c *Client, opts PushOptions, r Remote, refs []Refname)
git/push.go:14
↓ 1 callers
Function
Push
(c *git.Client, args []string)
cmd/push.go:10
↓ 1 callers
Method
Read
(p []byte)
zlib/reader.go:107
↓ 1 callers
Function
ReadDeltaOffset
Reads a delta offset from the io.Reader, and returns both the value and the list of bytes consumed from the reader.
git/packfile.go:157
↓ 1 callers
Function
ReadIndexEntry
(file *os.File, indexVersion uint32)
git/index.go:243
↓ 1 callers
Function
ReadTree
(c *git.Client, args []string)
cmd/readtree.go:11
↓ 1 callers
Method
RefName
Gets the "ref name" of the ref suitable for showing in places like git log and git rev-list.
git/showref.go:59
↓ 1 callers
Function
Reflog
(c *git.Client, args []string)
cmd/reflog.go:10
↓ 1 callers
Function
ReflogExists
Returns true if a reflog exists for refname r under client.
git/reflog.go:19
↓ 1 callers
Function
ReflogExpire
(c *Client, opts ReflogExpireOptions, refpatterns []string)
git/reflog.go:24
↓ 1 callers
Function
Remote
(c *git.Client, args []string)
cmd/remote.go:22
↓ 1 callers
Function
RemoteAdd
(c *Client, opts RemoteAddOptions, name, url string)
git/remote.go:282
↓ 1 callers
Function
RemoteGetURL
Implements the "git remote get-url" command.
git/remote.go:404
↓ 1 callers
Function
RemoteList
Retrieves a list of remotes set up in the local git repository for Client c.
git/remote.go:309
↓ 1 callers
Function
RemoteShow
Prints the remote named r in the format of "git remote show r" to destination w.
git/remote.go:324
↓ 1 callers
Method
RemoveUnmergedStages
Remove any unmerged (non-stage 0) stage from the index for the given path
git/index.go:473
↓ 1 callers
Function
Reset
(c *git.Client, args []string)
cmd/reset.go:10
↓ 1 callers
Method
ResetIndex
Replaces the index of Client with the the tree from the provided Treeish. if PreserveStatInfo is true, the stat information in the index won't be modi
git/index.go:701
↓ 1 callers
Function
RevParsePath
RevParsePath parses a path spec such as `HEAD:README.md` into the value that it represents. The Sha1 returned may be either a tree or a blob, dependin
git/revparse.go:103
↓ 1 callers
Function
Revert
(c *git.Client, args []string)
cmd/revert.go:13
↓ 1 callers
Function
Rm
(c *Client, opts RmOptions, files []File)
git/rm.go:18
↓ 1 callers
Function
Rm
(c *git.Client, args []string)
cmd/rm.go:11
↓ 1 callers
Function
SendPack
(c *git.Client, args []string)
cmd/send-pack.go:11
↓ 1 callers
Method
SetCachedConfig
Sets a cached config for this session only. None of these configs will be persisted into the local or global configuration. Once the client is closed
git/client.go:617
↓ 1 callers
Method
SetExtendedFlag
(val bool)
git/index.go:108
↓ 1 callers
Method
SetSideband
Tells the connection to print any sideband data to w
git/remote.go:147
↓ 1 callers
Function
Show
Show implementes the "git show" command.
git/show.go:36
↓ 1 callers
Function
Show
(c *git.Client, args []string)
cmd/show.go:10
↓ 1 callers
Function
ShowRef
(c *git.Client, args []string)
cmd/showref.go:11
↓ 1 callers
Function
Status
(c *git.Client, args []string)
cmd/status.go:11
↓ 1 callers
Function
StatusBranch
(c *Client, opts StatusOptions, lineprefix string)
git/status.go:107
↓ 1 callers
Function
StatusShort
Implements git status --short
git/status.go:417
↓ 1 callers
Method
String
()
git/sha1.go:62
↓ 1 callers
Method
Subject
()
git/commit.go:237
← previous
next →
301–400 of 646, ranked by callers