MCPcopy Create free account

hub / github.com/isacikgoz/gitin / functions

Functions187 in github.com/isacikgoz/gitin

↓ 65 callersFunctionCprint
Cprint returns the text as colored cell slice
term/terminal.go:86
↓ 24 callersMethodString
()
git/repository.go:33
↓ 13 callersMethodWrite
Write writes a single line to the underlining buffer.
term/bufferedwriter.go:38
↓ 12 callersMethodTarget
()
git/repository.go:32
↓ 8 callersMethodWriteCells
WriteCells add colored text to the inner buffer
term/bufferedwriter.go:99
↓ 6 callersMethodPath
Path returns the filesystem location of the repository
git/repository.go:90
↓ 6 callersMethodRun
Run as name implies starts the prompt until it quits
prompt/prompt.go:124
↓ 6 callersMethodStop
Stop sends a quit signal to the main loop of the prompt
prompt/prompt.go:164
↓ 6 callersFunctionpopGitCommand
(r *git.Repository, args []string)
cli/commands.go:10
↓ 6 callersFunctionunpackRawCommit
(repo *Repository, raw *lib.Commit)
git/commit.go:93
↓ 5 callersMethodIndex
Index returns the index of the item currently selected inside the searched list
prompt/list.go:41
↓ 5 callersMethodIndexed
Indexed true if entry added to index
git/status.go:204
↓ 5 callersFunctionNewList
NewList creates and initializes a list of searchable items. The items attribute must be a slice type.
prompt/sync_list.go:39
↓ 5 callersFunctionhighLightedText
(matches []int, c color.Attribute, str string)
cli/rendering.go:61
↓ 4 callersMethodIsRemote
IsRemote returns false if it is a local branch
git/branch.go:138
↓ 4 callersMethodReset
Reset truncates the underlining buffer and marks all its previous lines to be cleared during the next Write.
term/bufferedwriter.go:32
↓ 4 callersMethodSetState
SetState replaces the state of the prompt
prompt/prompt.go:358
↓ 4 callersMethodState
State return the current replace-able vars as a struct
prompt/prompt.go:344
↓ 4 callersFunctionexitIfError
(err error)
cmd/gitin/main.go:46
↓ 4 callersMethodrender
render function draws screen's list to terminal
prompt/prompt.go:233
↓ 4 callersMethodrunCommandWithArgs
(args []string)
cli/status.go:211
↓ 4 callersMethodtoNewLibSignature
()
git/commit.go:29
↓ 3 callersMethodAddKeyBinding
AddKeyBinding adds a key-function map to prompt
prompt/prompt.go:267
↓ 3 callersMethodBranches
Branches loads branches with the lib's branch iterator loads both remote and local branches
git/branch.go:28
↓ 3 callersFunctionCreate
Create returns a pointer to prompt that is ready to Run
prompt/prompt.go:82
↓ 3 callersMethodFd
()
term/terminal.go:29
↓ 3 callersMethodFlush
Flush writes any buffered data to the underlying io.Writer, ensuring that any pending data is displayed.
term/bufferedwriter.go:116
↓ 3 callersMethodItems
Items returns a slice equal to the size of the list with the current visible items and the index of the active item in this list.
prompt/list.go:45
↓ 3 callersMethodLoadHead
LoadHead can be used to refresh HEAD ref
git/repository.go:67
↓ 3 callersMethodLoadStatus
LoadStatus simply emulates a "git status" and returns the result
git/status.go:134
↓ 3 callersMethodNext
Next moves the visible list forward one item
prompt/list.go:5
↓ 3 callersFunctionWithInformation
WithInformation adds additional information below to the prompt
prompt/prompt.go:117
↓ 3 callersFunctionWithItemRenderer
WithItemRenderer to add your own implementation on rendering an Item
prompt/prompt.go:110
↓ 3 callersFunctionWithSelectionHandler
WithSelectionHandler adds a selection handler to the prompt
prompt/prompt.go:103
↓ 3 callersFunctionbranchInfo
(b *git.Branch, yours bool)
cli/rendering.go:84
↓ 3 callersMethodclearBuffer
()
prompt/async_list.go:53
↓ 3 callersMethodflushToScope
(ctx *searchContext, fireUpdate bool)
prompt/async_list.go:169
↓ 3 callersMethodreloadStatus
reloads the list
cli/status.go:221
↓ 3 callersFunctionstautsText
(text string)
cli/rendering.go:49
↓ 2 callersFunctionNewBufferedWriter
NewBufferedWriter creates and initializes a new BufferedWriter.
term/bufferedwriter.go:26
↓ 2 callersFunctionOpen
Open load the repository from the filesystem
git/repository.go:37
↓ 2 callersMethodPageDown
PageDown moves the visible list forward by x items. Where x is the size of the visible items on the list
prompt/list.go:16
↓ 2 callersMethodPageUp
PageUp moves the visible list backward by x items. Where x is the size of the visible items on the list
prompt/list.go:12
↓ 2 callersMethodPrev
Prev moves the visible list back one item.
prompt/list.go:8
↓ 2 callersMethodStart
Start returns the current render start position of the list.
prompt/list.go:31
↓ 2 callersMethodaddBuffer
(items ...interface{})
prompt/async_list.go:135
↓ 2 callersMethodbareCommit
(arg string)
cli/status.go:168
↓ 2 callersMethodbareDelete
(item interface{}, mode string)
cli/branch.go:107
↓ 2 callersFunctionfileStatArgs
fileStatArgs returns git command args for getting diff
cli/status.go:244
↓ 2 callersMethodflushBuffer
()
prompt/async_list.go:114
↓ 2 callersFunctionunpackRawBranch
(r *lib.Repository, branch *lib.Branch)
git/branch.go:62
↓ 2 callersFunctionworkingTreeClean
(b *git.Branch)
cli/rendering.go:143
↓ 1 callersFunctionBranchPrompt
BranchPrompt configures a prompt to serve as a branch prompt
cli/branch.go:21
↓ 1 callersMethodClearScreen
ClearScreen solves problems (R) and use it after Reset()
term/bufferedwriter.go:156
↓ 1 callersFunctionClose
Close restores the terminal state
term/terminal.go:66
↓ 1 callersMethodCommitsChan
Commits returns commits as channel with given size
git/commit.go:63
↓ 1 callersMethodCursor
Cursor is the current cursor position
prompt/list.go:51
↓ 1 callersMethodDeltaStatusString
DeltaStatusString retruns delta status as string
git/status.go:260
↓ 1 callersMethodDeltas
Deltas returns the actual changes with file info
git/status.go:110
↓ 1 callersMethodDiff
Diff has similar behavior to "git diff <commit>"
git/commit.go:191
↓ 1 callersFunctionDisableColor
DisableColor makes cell attributes meaningless
term/terminal.go:98
↓ 1 callersMethodError
()
git/errors.go:6
↓ 1 callersFunctionInit
Init initializes the term package
term/terminal.go:45
↓ 1 callersMethodLen
()
prompt/sync_list.go:20
↓ 1 callersFunctionLogPrompt
LogPrompt configures a prompt to serve as a commit prompt
cli/log.go:25
↓ 1 callersMethodMatches
Matches returns the matched items against a search term
prompt/list.go:48
↓ 1 callersFunctionNewAsyncList
NewAsyncList creates and initializes a list of searchable items. The items attribute must be a slice type.
prompt/async_list.go:76
↓ 1 callersFunctionNewRuneReader
NewRuneReader creates a new instance of RuneReader
term/runereader.go:19
↓ 1 callersMethodParentID
ParentID returns the commits parent hash.
git/commit.go:282
↓ 1 callersMethodReadRune
ReadRune returns a single rune from the stdin
term/runereader.go:26
↓ 1 callersMethodSearch
Search allows the list to be filtered by a given term.
prompt/list.go:25
↓ 1 callersMethodSetCursor
SetCursor sets the position of the cursor in the list. Values out of bounds will be clamped.
prompt/list.go:38
↓ 1 callersMethodSetExitMsg
SetExitMsg adds a rendered cell grid to be printed after prompt is finished
prompt/prompt.go:373
↓ 1 callersMethodSetStart
SetStart sets the current scroll position. Values out of bounds will be clamped.
prompt/list.go:34
↓ 1 callersMethodSize
Size is the number of items to be displayed
prompt/list.go:54
↓ 1 callersMethodStatusEntryString
StatusEntryString returns entry status in pretty format
git/status.go:209
↓ 1 callersFunctionStatusPrompt
StatusPrompt configures a prompt to serve as work-dir explorer prompt
cli/status.go:23
↓ 1 callersMethodTags
Tags loads tags from the refs
git/tag.go:14
↓ 1 callersMethodType
()
git/repository.go:31
↓ 1 callersMethodUpdate
()
prompt/list.go:56
↓ 1 callersMethodaddToStatus
(raw lib.StatusEntry)
git/status.go:168
↓ 1 callersFunctionadditionalHelp
()
cmd/gitin/main.go:68
↓ 1 callersMethodallControls
()
prompt/prompt.go:333
↓ 1 callersFunctionapplyPatchCmd
(r *git.Repository, entry *git.StatusEntry, patch string)
cli/status.go:283
↓ 1 callersFunctioncommitRefs
(r *git.Repository, c *git.Commit)
cli/log.go:210
↓ 1 callersMethoddefineKeyBindings
()
cli/branch.go:54
↓ 1 callersMethoddefineKeybindings
()
cli/status.go:69
↓ 1 callersMethoddefineKeybindings
()
cli/log.go:181
↓ 1 callersFunctionevalArgs
define the program commands and args
cmd/gitin/main.go:54
↓ 1 callersFunctiongenHelp
returns multiline so the return value will be a 2-d slice
prompt/renderer.go:42
↓ 1 callersFunctiongenerateDiffFile
(r *git.Repository, entry *git.StatusEntry)
cli/status.go:268
↓ 1 callersFunctioninitRepoFromPath
(path string)
git/repository.go:51
↓ 1 callersFunctionlastCommitArgs
lastCommitArgs returns the args for show stat
cli/status.go:257
↓ 1 callersMethodmainloop
this is the main loop for reading input channel
prompt/prompt.go:183
↓ 1 callersFunctionnewSearchContext
(c context.Context)
prompt/async_list.go:40
↓ 1 callersFunctionnewTerminalState
(input Reader)
term/terminal.go:74
↓ 1 callersMethodonKey
default key handling function
prompt/prompt.go:273
↓ 1 callersMethodreloadBranches
reloads the list
cli/branch.go:123
↓ 1 callersFunctionrenderSearch
(placeholder string, inputMode bool, input string)
prompt/renderer.go:63
↓ 1 callersMethodsearch
(term string)
prompt/async_list.go:183
next →1–100 of 187, ranked by callers