SYMBOL INDEX (8556 symbols across 836 files) FILE: cmd/hot/command/command.go type Globals (line 25) | type Globals struct method RunEx (line 55) | func (g *Globals) RunEx(ctx context.Context, repoPath string, cmdArg0 ... type VersionFlag (line 30) | type VersionFlag method Decode (line 32) | func (v VersionFlag) Decode(ctx *kong.DecodeContext) error { return nil } method IsBool (line 33) | func (v VersionFlag) IsBool() bool { return tr... method BeforeApply (line 34) | func (v VersionFlag) BeforeApply(app *kong.Kong, vars kong.Vars) error { function pickURI (line 40) | func pickURI(rawURL string) (string, error) { FILE: cmd/hot/command/command_az.go type Az (line 14) | type Az struct method Run (line 20) | func (c *Az) Run(g *Globals) error { method azOnce (line 30) | func (c *Az) azOnce(p string) error { FILE: cmd/hot/command/command_cat.go constant MAX_SHOW_BINARY_BLOB (line 29) | MAX_SHOW_BINARY_BLOB = 10<<20 - 8 type Cat (line 32) | type Cat struct method Run (line 44) | func (c *Cat) Run(g *Globals) error { method Println (line 64) | func (c *Cat) Println(a ...any) error { method NewFD (line 74) | func (c *Cat) NewFD() (io.WriteCloser, term.Level, error) { method showObject (line 90) | func (c *Cat) showObject(a any) error { method isMarkdown (line 133) | func (c *Cat) isMarkdown() bool { method getLexer (line 150) | func (c *Cat) getLexer() chroma.Lexer { method markdownOut (line 168) | func (c *Cat) markdownOut(w io.Writer, input io.Reader) error { method syntaxHighlightOut (line 202) | func (c *Cat) syntaxHighlightOut(w io.Writer, input io.Reader, termLev... method formatObject (line 251) | func (c *Cat) formatObject(o *git.Object) error { constant binaryTruncated (line 83) | binaryTruncated = "*** Binary truncated ***" type sizer (line 86) | type sizer interface FILE: cmd/hot/command/command_co.go type Co (line 17) | type Co struct method concatDestination (line 29) | func (c *Co) concatDestination(baseName string) (string, error) { method decodeRemote (line 57) | func (c *Co) decodeRemote() (remote string, uri string, err error) { method Run (line 73) | func (c *Co) Run(g *Globals) error { FILE: cmd/hot/command/command_diff.go type Diff (line 20) | type Diff struct method Run (line 28) | func (c *Diff) Run(g *Globals) error { FILE: cmd/hot/command/command_expire_refs.go type ExpireRefs (line 17) | type ExpireRefs struct method fixup (line 25) | func (c *ExpireRefs) fixup() { method Match (line 33) | func (c *ExpireRefs) Match(name string) bool { method Expire (line 45) | func (c *ExpireRefs) Expire(ref *refs.Reference) bool { method Run (line 59) | func (c *ExpireRefs) Run(g *Globals) error { FILE: cmd/hot/command/command_graft.go type Graft (line 17) | type Graft struct method Run (line 27) | func (c *Graft) Run(g *Globals) error { method doOnce (line 36) | func (c *Graft) doOnce(g *Globals, p string) error { FILE: cmd/hot/command/command_mc.go type Mc (line 20) | type Mc struct method concatDestination (line 28) | func (c *Mc) concatDestination(baseName string) (string, error) { method cloneAndMigrate (line 59) | func (c *Mc) cloneAndMigrate(g *Globals, uri string) error { method Run (line 77) | func (c *Mc) Run(g *Globals) error { method migrateFrom (line 102) | func (c *Mc) migrateFrom(g *Globals, from, to string) error { FILE: cmd/hot/command/command_prune_refs.go constant pruneTargetPrefix (line 24) | pruneTargetPrefix = "refs/pull/" type Reference (line 65) | type Reference struct function parseReferenceLine (line 73) | func parseReferenceLine(referenceLine string) (*Reference, error) { function GetReferences (line 87) | func GetReferences(ctx context.Context, repoPath string, m func(*Referen... function isDirtyReference (line 108) | func isDirtyReference(name string) bool { function prefixesMatch (line 114) | func prefixesMatch(name string, prefixes []string) bool { type PruneRefs (line 120) | type PruneRefs struct method preparePrefixes (line 129) | func (c *PruneRefs) preparePrefixes() (prefixes []string) { method record (line 147) | func (c *PruneRefs) record(repoPath string, refs []*Reference) error { method pruneRefs (line 166) | func (c *PruneRefs) pruneRefs(ctx context.Context, repoPath string, re... method Run (line 200) | func (c *PruneRefs) Run(g *Globals) error { FILE: cmd/hot/command/command_remove.go type Remove (line 15) | type Remove struct method Run (line 24) | func (c *Remove) Run(g *Globals) error { FILE: cmd/hot/command/command_scan_refs.go function newModel (line 24) | func newModel(references *refs.References) model { type model (line 38) | type model struct method Init (line 45) | func (m model) Init() tea.Cmd { method Update (line 49) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method buildTable (line 86) | func (m model) buildTable() table.Model { method View (line 167) | func (m model) View() tea.View { function getTerminalWidth (line 186) | func getTerminalWidth() int { type ScanRefs (line 193) | type ScanRefs struct method fixup (line 199) | func (c *ScanRefs) fixup() { method Match (line 207) | func (c *ScanRefs) Match(name string) bool { method Run (line 219) | func (c *ScanRefs) Run(g *Globals) error { FILE: cmd/hot/command/command_show.go type Show (line 20) | type Show struct method Run (line 26) | func (c *Show) Run(g *Globals) error { FILE: cmd/hot/command/command_size.go type Size (line 15) | type Size struct method Run (line 22) | func (c *Size) Run(g *Globals) error { method sizeOnce (line 32) | func (c *Size) sizeOnce(p string) error { FILE: cmd/hot/command/command_smart.go type Smart (line 18) | type Smart struct method Run (line 27) | func (c *Smart) Run(g *Globals) error { method doOnce (line 80) | func (c *Smart) doOnce(g *Globals, p string) error { function multiSelect (line 36) | func multiSelect(i int, totalBatches int, input []string) ([]string, err... function newMatcher (line 50) | func newMatcher(sz *stat.SizeExecutor, matchAll bool) replay.Matcher { FILE: cmd/hot/command/command_snapshot.go constant snapshotSummaryFormat (line 21) | snapshotSummaryFormat = `%shot snapshot [] type Snapshot (line 27) | type Snapshot struct method Summary (line 40) | func (c *Snapshot) Summary() string { method Passthrough (line 45) | func (c *Snapshot) Passthrough(paths []string) { method genMessage (line 116) | func (c *Snapshot) genMessage() (message string, err error) { method snapshotWriteIndex (line 138) | func (c *Snapshot) snapshotWriteIndex(ctx context.Context, snapshotEnv... method addALL (line 158) | func (c *Snapshot) addALL(ctx context.Context, snapshotEnv []string) e... method writeTree (line 168) | func (c *Snapshot) writeTree(ctx context.Context, snapshotEnv []string... method doSnapshot (line 182) | func (c *Snapshot) doSnapshot(ctx context.Context, basePoint string) (... method Run (line 240) | func (c *Snapshot) Run(g *Globals) error { function messageReadFrom (line 49) | func messageReadFrom(r io.Reader) (string, error) { function messageReadFromPath (line 80) | func messageReadFromPath(p string) (string, error) { function genMessage (line 89) | func genMessage(message []string) string { FILE: cmd/hot/command/command_stat.go type Stat (line 11) | type Stat struct method Run (line 16) | func (c *Stat) Run(g *Globals) error { FILE: cmd/hot/command/command_unbranch.go type Unbranch (line 17) | type Unbranch struct method Run (line 26) | func (c *Unbranch) Run(g *Globals) error { FILE: cmd/hot/command/misc.go constant Byte (line 27) | Byte int64 = 1 << (iota * 10) constant KiByte (line 28) | KiByte constant MiByte (line 29) | MiByte constant GiByte (line 30) | GiByte constant TiByte (line 31) | TiByte constant PiByte (line 32) | PiByte constant EiByte (line 33) | EiByte function decodeSize (line 48) | func decodeSize(text string) (int64, error) { function SizeDecoder (line 62) | func SizeDecoder() kong.MapperFunc { function parseTime (line 97) | func parseTime(str string) (int64, error) { function ExpireDecoder (line 123) | func ExpireDecoder() kong.MapperFunc { type NopWriteCloser (line 152) | type NopWriteCloser struct method Close (line 156) | func (NopWriteCloser) Close() error { function W (line 160) | func W(a string) string { function die (line 164) | func die(format string, a ...any) { FILE: cmd/hot/command/pager.go type Printer (line 14) | type Printer interface type WrapPrinter (line 20) | type WrapPrinter struct method ColorMode (line 24) | func (WrapPrinter) ColorMode() term.Level { method EnableColor (line 28) | func (WrapPrinter) EnableColor() bool { function lookupPager (line 33) | func lookupPager() (string, bool) { type printer (line 41) | type printer struct method EnableColor (line 47) | func (p *printer) EnableColor() bool { method ColorMode (line 51) | func (p *printer) ColorMode() term.Level { method Write (line 55) | func (p *printer) Write(b []byte) (n int, err error) { method Close (line 59) | func (p *printer) Close() error { function NewPrinter (line 66) | func NewPrinter(ctx context.Context) *printer { FILE: cmd/hot/hot.go type App (line 17) | type App struct function main (line 38) | func main() { FILE: cmd/hot/pkg/co/co.go type CoOptions (line 18) | type CoOptions struct function run (line 38) | func run(ctx context.Context, repoPath string, cmdArg0 string, args ...s... function fetch (line 56) | func fetch(ctx context.Context, o *CoOptions) error { function Co (line 118) | func Co(ctx context.Context, o *CoOptions) error { function sparseCheckout (line 125) | func sparseCheckout(ctx context.Context, o *CoOptions) error { function clone (line 163) | func clone(ctx context.Context, o *CoOptions) error { FILE: cmd/hot/pkg/co/misc.go function NewUserAgent (line 10) | func NewUserAgent() (string, bool) { FILE: cmd/hot/pkg/co/misc_test.go function TestNewUserAgent (line 9) | func TestNewUserAgent(t *testing.T) { FILE: cmd/hot/pkg/diff/diff.go type Patch (line 22) | type Patch struct method Reset (line 38) | func (p *Patch) Reset() { method ClearPatch (line 43) | func (p *Patch) ClearPatch() { type Parser (line 50) | type Parser struct method Parse (line 125) | func (parser *Parser) Parse() bool { method Patch (line 197) | func (parser *Parser) Patch() *Patch { method Err (line 202) | func (parser *Parser) Err() error { method currentPatchFromPath (line 206) | func (parser *Parser) currentPatchFromPath() []byte { method cacheRawLines (line 216) | func (parser *Parser) cacheRawLines(reader *bufio.Reader) { method nextRawLine (line 246) | func (parser *Parser) nextRawLine() []byte { method initializeCurrentPatch (line 255) | func (parser *Parser) initializeCurrentPatch() error { method readDiffHeaderFromPath (line 276) | func (parser *Parser) readDiffHeaderFromPath() ([]byte, error) { method handleTypeChangeDiff (line 440) | func (parser *Parser) handleTypeChangeDiff() { method prunePatch (line 641) | func (parser *Parser) prunePatch() { method isOverSafeLimits (line 653) | func (parser *Parser) isOverSafeLimits() bool { method maxPatchBytesForCurrentFile (line 659) | func (parser *Parser) maxPatchBytesForCurrentFile() int { type Limits (line 67) | type Limits struct method enforceUpperBound (line 631) | func (limit *Limits) enforceUpperBound() { constant maxFilesUpperBound (line 95) | maxFilesUpperBound = 5000 constant maxLinesUpperBound (line 96) | maxLinesUpperBound = 250000 constant maxBytesUpperBound (line 97) | maxBytesUpperBound = 5000 * 5120 constant safeMaxFilesUpperBound (line 98) | safeMaxFilesUpperBound = 500 constant safeMaxLinesUpperBound (line 99) | safeMaxLinesUpperBound = 25000 constant safeMaxBytesUpperBound (line 100) | safeMaxBytesUpperBound = 500 * 5120 constant maxPatchBytesUpperBound (line 101) | maxPatchBytesUpperBound = 512000 function NewParser (line 110) | func NewParser(hashFormat git.HashFormat, src io.Reader, limits Limits) ... function parseDiffHeaderPath (line 333) | func parseDiffHeaderPath(line []byte) ([]byte, error) { function parseTwoPaths (line 371) | func parseTwoPaths(line []byte) ([][]byte, error) { function parseQuotedPath (line 406) | func parseQuotedPath(line []byte) ([]byte, []byte, error) { function parseUnquotedPath (line 432) | func parseUnquotedPath(line []byte) ([]byte, []byte) { function parseRawLine (line 462) | func parseRawLine(hashFormat git.HashFormat, line []byte, patch *Patch) ... function readNextDiff (line 526) | func readNextDiff(reader *bufio.Reader, patch *Patch, skipPatch bool) er... function consumeChunkLine (line 588) | func consumeChunkLine(reader *bufio.Reader, patch *Patch, skipPatch, upd... function discardLine (line 623) | func discardLine(reader *bufio.Reader) error { function exceeded (line 649) | func exceeded(current, limit int) bool { function unescape (line 683) | func unescape(s []byte) []byte { function isOctalDigit (line 734) | func isOctalDigit(b byte) bool { function unquoteBytes (line 739) | func unquoteBytes(s []byte) []byte { function parseHunks (line 747) | func parseHunks(lines []string) ([]*diferenco.Hunk, error) { function parseHunkHeader (line 812) | func parseHunkHeader(header string) (fromLine, fromCount, toLine, toCoun... function parseRange (line 851) | func parseRange(s string, prefix byte) (start, count int, err error) { FILE: cmd/hot/pkg/diff/parser_test.go function rawLine (line 13) | func rawLine(oldMode, newMode int, oldOID, newOID, status, path string) ... function rawLineRename (line 18) | func rawLineRename(oldMode, newMode int, oldOID, newOID, status, fromPat... function TestParserBasic (line 24) | func TestParserBasic(t *testing.T) { function TestParserModify (line 54) | func TestParserModify(t *testing.T) { function TestParserAdd (line 91) | func TestParserAdd(t *testing.T) { function TestParserDelete (line 123) | func TestParserDelete(t *testing.T) { function TestParserBinary (line 155) | func TestParserBinary(t *testing.T) { function TestParserLimits (line 179) | func TestParserLimits(t *testing.T) { function TestParseHunks (line 211) | func TestParseHunks(t *testing.T) { function TestParseHunksWithSection (line 266) | func TestParseHunksWithSection(t *testing.T) { function TestParseHunksWithEmptySection (line 297) | func TestParseHunksWithEmptySection(t *testing.T) { function TestUnescape (line 320) | func TestUnescape(t *testing.T) { function TestLimitsEnforceUpperBound (line 343) | func TestLimitsEnforceUpperBound(t *testing.T) { function TestParserConsecutiveEmptyPatches (line 361) | func TestParserConsecutiveEmptyPatches(t *testing.T) { function TestParserQuotedPaths (line 397) | func TestParserQuotedPaths(t *testing.T) { function TestParserQuotedPathsWithEscapes (line 435) | func TestParserQuotedPathsWithEscapes(t *testing.T) { function TestParserRenameWithPatch (line 507) | func TestParserRenameWithPatch(t *testing.T) { function TestParserCopyWithPatch (line 541) | func TestParserCopyWithPatch(t *testing.T) { function TestParserNoNewlineAtEOF (line 574) | func TestParserNoNewlineAtEOF(t *testing.T) { function TestParserTypeChange (line 625) | func TestParserTypeChange(t *testing.T) { function TestParserEnforceLimitsZeroMeansUnlimited (line 662) | func TestParserEnforceLimitsZeroMeansUnlimited(t *testing.T) { function TestParserPatchObjectIsReused (line 694) | func TestParserPatchObjectIsReused(t *testing.T) { function BenchmarkParser (line 733) | func BenchmarkParser(b *testing.B) { FILE: cmd/hot/pkg/hud/bar.go type ProgressBar (line 13) | type ProgressBar struct method Add (line 39) | func (b *ProgressBar) Add(n int) { method Done (line 45) | func (b *ProgressBar) Done() { function NewBar (line 20) | func NewBar(description string, total int, stepCurrent, stepEnd int, ver... FILE: cmd/hot/pkg/hud/display.go function typePadding (line 13) | func typePadding(e *git.TreeEntry, padding int) string { function encodeEntry (line 21) | func encodeEntry(w io.Writer, e *git.TreeEntry, t string, v term.Level) ... constant commitTypeName (line 52) | commitTypeName = "commit" function encodeTree (line 55) | func encodeTree(w io.Writer, t *git.Tree, v term.Level) error { function encodeTag (line 68) | func encodeTag(w io.Writer, t *git.Tag, v term.Level) error { function encodeCommit (line 79) | func encodeCommit(w io.Writer, c *git.Commit, v term.Level) (err error) { function Display (line 112) | func Display(w io.Writer, a any, v term.Level) error { FILE: cmd/hot/pkg/mc/migrate.go type Migrator (line 26) | type Migrator struct method uncache (line 42) | func (m *Migrator) uncache(from []byte) ([]byte, bool) { method cache (line 49) | func (m *Migrator) cache(from, to []byte) { method Close (line 106) | func (m *Migrator) Close() error { method getAllCommits (line 117) | func (m *Migrator) getAllCommits(ctx context.Context) ([][]byte, error) { method hashObject (line 136) | func (m *Migrator) hashObject(oid []byte) ([]byte, error) { method hashObjects (line 173) | func (m *Migrator) hashObjects(ctx context.Context) error { method rewriteTree (line 218) | func (m *Migrator) rewriteTree(commitOID []byte, treeOID []byte) ([]by... method rewriteCommits (line 258) | func (m *Migrator) rewriteCommits(ctx context.Context) error { method getReferences (line 332) | func (m *Migrator) getReferences(ctx context.Context) ([]*git.Referenc... method encodeTag (line 348) | func (m *Migrator) encodeTag(tag *gitobj.Tag, newObj []byte) ([]byte, ... method rewriteTag (line 364) | func (m *Migrator) rewriteTag(oid []byte) ([]byte, error) { method rewriteOneRef (line 385) | func (m *Migrator) rewriteOneRef(ref *git.Reference) ([]byte, error) { method reconstruct (line 400) | func (m *Migrator) reconstruct(ctx context.Context) error { method Execute (line 445) | func (m *Migrator) Execute(ctx context.Context) error { method reset (line 458) | func (m *Migrator) reset(ctx context.Context) error { method cleanup (line 475) | func (m *Migrator) cleanup(ctx context.Context) error { type MigrateOptions (line 55) | type MigrateOptions struct function NewMigrator (line 64) | func NewMigrator(ctx context.Context, opts *MigrateOptions) (*Migrator, ... function countObjects (line 148) | func countObjects(ctx context.Context, repoPath string) int { FILE: cmd/hot/pkg/refs/refs.go type CommitGPGSignature (line 18) | type CommitGPGSignature struct type Reference (line 23) | type Reference struct method Merged (line 38) | func (r *Reference) Merged() bool { method IsBranch (line 42) | func (r *Reference) IsBranch() bool { method IsTag (line 46) | func (r *Reference) IsTag() bool { type Matcher (line 50) | type Matcher interface type References (line 54) | type References struct method resolveRefCommit (line 60) | func (r *References) resolveRefCommit(odb *git.ODB, ref *git.Reference... method resolve (line 82) | func (r *References) resolve(ctx context.Context, repoPath string, odb... function ScanReferences (line 110) | func ScanReferences(ctx context.Context, repoPath string, m Matcher, ord... function RemoveBrokenRef (line 140) | func RemoveBrokenRef(repoPath string, refName string) error { FILE: cmd/hot/pkg/replay/cache.go method cacheEntry (line 15) | func (r *Replayer) cacheEntry(path string, from, to *gitobj.TreeEntry) *... method uncacheEntry (line 27) | func (r *Replayer) uncacheEntry(path string, from *gitobj.TreeEntry) *gi... method entryKey (line 35) | func (r *Replayer) entryKey(path string, e *gitobj.TreeEntry) string { method cacheCommit (line 41) | func (r *Replayer) cacheCommit(from, to []byte) { method uncacheCommit (line 52) | func (r *Replayer) uncacheCommit(from []byte) ([]byte, bool) { function copyEntry (line 60) | func copyEntry(e *gitobj.TreeEntry) *gitobj.TreeEntry { function copyEntryMode (line 75) | func copyEntryMode(e *gitobj.TreeEntry, mode int32) *gitobj.TreeEntry { FILE: cmd/hot/pkg/replay/cleanup.go method cleanup (line 16) | func (r *Replayer) cleanup(prune bool) error { FILE: cmd/hot/pkg/replay/drop.go method rewriteTree (line 18) | func (r *Replayer) rewriteTree(m Matcher, commitOID []byte, treeOID []by... method rewriteCommits (line 72) | func (r *Replayer) rewriteCommits(m Matcher) error { method Drop (line 146) | func (r *Replayer) Drop(m Matcher, confirm bool, prune bool) error { FILE: cmd/hot/pkg/replay/graft.go method resolveCommit (line 18) | func (r *Replayer) resolveCommit(ref *git.Reference) ([]byte, *gitobj.Co... method graftHEAD (line 41) | func (r *Replayer) graftHEAD() error { method graftCommits (line 99) | func (r *Replayer) graftCommits(refs []*git.Reference, headOnly bool) er... method Graft (line 165) | func (r *Replayer) Graft(m Matcher, confirm bool, prune bool, headOnly b... FILE: cmd/hot/pkg/replay/misc.go type Matcher (line 15) | type Matcher interface type equaler (line 19) | type equaler struct method Match (line 33) | func (e *equaler) Match(entry *gitobj.TreeEntry, absPath string) bool { function NewEqualer (line 23) | func NewEqualer(paths []string) Matcher { function systemCaseEqual (line 55) | func systemCaseEqual(a, b string) bool { type matcher (line 62) | type matcher struct method Match (line 87) | func (m *matcher) Match(entry *gitobj.TreeEntry, absPath string) bool { function NewMatcher (line 67) | func NewMatcher(patterns []string) Matcher { FILE: cmd/hot/pkg/replay/replay.go type Replayer (line 17) | type Replayer struct method Close (line 56) | func (r *Replayer) Close() error { method referencesToRewrite (line 63) | func (r *Replayer) referencesToRewrite() ([]*git.Reference, error) { method commitsToRewrite (line 80) | func (r *Replayer) commitsToRewrite() ([][]byte, error) { function NewReplayer (line 37) | func NewReplayer(ctx context.Context, repoPath string, stepEnd int, verb... FILE: cmd/hot/pkg/replay/unbranch.go constant maxSizeForSquashedCommitMessage (line 24) | maxSizeForSquashedCommitMessage = 4 << 20 method makeSquashMessage0 (line 26) | func (r *Replayer) makeSquashMessage0(commits []string, message string) ... method makeSquashMessage (line 54) | func (r *Replayer) makeSquashMessage(cc *gitobj.Commit) (string, error) { method commitsToLinear (line 68) | func (r *Replayer) commitsToLinear(revision string) ([][]byte, error) { method unbranch (line 93) | func (r *Replayer) unbranch(revision string, keep int) ([]byte, error) { type UnbranchOptions (line 156) | type UnbranchOptions struct method Unbranch (line 164) | func (r *Replayer) Unbranch(o *UnbranchOptions) error { method unbranchOne (line 201) | func (r *Replayer) unbranchOne(o *UnbranchOptions, top []byte) error { FILE: cmd/hot/pkg/replay/update.go type refUpdater (line 22) | type refUpdater struct method UpdateRefs (line 44) | func (r *refUpdater) UpdateRefs(ctx context.Context, b *hud.ProgressBa... method updateOneTag (line 79) | func (r *refUpdater) updateOneTag(tag *gitobj.Tag, toObj []byte) ([]by... method rewriteTag (line 95) | func (r *refUpdater) rewriteTag(oid []byte) ([]byte, error) { method updateOneRef (line 116) | func (r *refUpdater) updateOneRef(u *git.RefUpdater, maxNameLen int, s... FILE: cmd/hot/pkg/stat/az.go function showHugeObjects (line 14) | func showHugeObjects(ctx context.Context, repoPath string, objects map[s... function Az (line 27) | func Az(ctx context.Context, repoPath string, limit int64, fullPath bool... FILE: cmd/hot/pkg/stat/color.go function red (line 10) | func red(s string) string { function yellow (line 20) | func yellow(s string) string { function green (line 31) | func green(s string) string { function colorE (line 42) | func colorE(s string) string { function blue (line 53) | func blue(s string) string { function green2 (line 64) | func green2(s string) string { function colorSize (line 75) | func colorSize(i int64) string { function colorSizeU (line 79) | func colorSizeU(i uint64) string { function colorInt (line 83) | func colorInt[I int | uint64 | int64](i I) string { FILE: cmd/hot/pkg/stat/draw.go type Item (line 16) | type Item struct type Items (line 23) | type Items method Len (line 26) | func (m Items) Len() int { return len(m) } method Less (line 29) | func (m Items) Less(i, j int) bool { return m[i].Total > m[j].Total } method Swap (line 32) | func (m Items) Swap(i, j int) { m[i], m[j] = m[j], m[i] } type sizeCounter (line 34) | type sizeCounter struct type summer (line 39) | type summer struct method add (line 50) | func (s *summer) add(file string, size int64) { method printName (line 63) | func (s *summer) printName(name, oid string, size int64) { method resolveName (line 75) | func (s *summer) resolveName(ctx context.Context, repoPath string, see... function newSummer (line 46) | func newSummer(fullPath bool) *summer { type Printer (line 61) | type Printer FILE: cmd/hot/pkg/stat/size.go type SizeExecutor (line 24) | type SizeExecutor struct method Match (line 36) | func (e *SizeExecutor) Match(entry *gitobj.TreeEntry, absPath string) ... method Paths (line 43) | func (e *SizeExecutor) Paths() []string { method Run (line 48) | func (e *SizeExecutor) Run(ctx context.Context, repoPath string, extra... method currentCheck (line 111) | func (e *SizeExecutor) currentCheck(ctx context.Context, repoPath stri... function NewSizeExecutor (line 31) | func NewSizeExecutor(size int64, fullPath bool) *SizeExecutor { FILE: cmd/hot/pkg/stat/stat.go type StatOptions (line 25) | type StatOptions struct type Values (line 30) | type Values function listConfig (line 32) | func listConfig(ctx context.Context, repoPath string) (Values, error) { function scanIdentity (line 70) | func scanIdentity(vs Values) { function safePassword (line 88) | func safePassword(s string) string { function checkRemote (line 95) | func checkRemote(vs Values) { function partialClone (line 121) | func partialClone(vs Values) (sparse bool, partial bool) { function parseShallowCommit (line 133) | func parseShallowCommit(repoPath string) string { function Stat (line 142) | func Stat(ctx context.Context, o *StatOptions) error { FILE: cmd/hot/pkg/stat/stat_test.go function TestCheckEmail (line 9) | func TestCheckEmail(t *testing.T) { function TestSafePassword (line 37) | func TestSafePassword(t *testing.T) { function TestListConfig (line 46) | func TestListConfig(t *testing.T) { function TestTruncateName (line 57) | func TestTruncateName(t *testing.T) { FILE: cmd/hot/pkg/stat/table.go method drawInteractive (line 19) | func (s *summer) drawInteractive(title string) error { function getTerminalWidth (line 114) | func getTerminalWidth() int { function truncatePath (line 123) | func truncatePath(path string, maxWidth int) string { FILE: cmd/hot/pkg/tr/tr.go function parseLocale (line 21) | func parseLocale() string { function DelayInitializeLocale (line 35) | func DelayInitializeLocale() error { function DefaultLocaleName (line 47) | func DefaultLocaleName() string { function W (line 51) | func W(k string) string { function Fprintf (line 60) | func Fprintf(w io.Writer, format string, a ...any) (n int, err error) { FILE: cmd/hot/pkg/tr/tr_test.go function TestFS (line 10) | func TestFS(t *testing.T) { function TestLANG (line 18) | func TestLANG(t *testing.T) { FILE: cmd/zeta-mc/main.go function main (line 17) | func main() { FILE: cmd/zeta-mc/migrate.go type App (line 22) | type App struct method concatDestination (line 41) | func (c *App) concatDestination(baseName string) (string, error) { method cloneAndMigrate (line 69) | func (c *App) cloneAndMigrate(g *Globals, uri string) error { method Run (line 87) | func (c *App) Run(g *Globals) error { method migrateFrom (line 112) | func (c *App) migrateFrom(g *Globals, from, to string) error { function die_error (line 33) | func die_error(format string, a ...any) { FILE: cmd/zeta-mc/msic.go type Globals (line 21) | type Globals struct method RunEx (line 56) | func (g *Globals) RunEx(repoPath string, cmdArg0 string, args ...strin... type VersionFlag (line 26) | type VersionFlag method Decode (line 28) | func (v VersionFlag) Decode(ctx *kong.DecodeContext) error { return nil } method IsBool (line 29) | func (v VersionFlag) IsBool() bool { return tr... method BeforeApply (line 30) | func (v VersionFlag) BeforeApply(app *kong.Kong, vars kong.Vars) error { function pickURI (line 41) | func pickURI(rawURL string) (string, error) { FILE: cmd/zeta-serve/command_encrypt.go type pseudoConfig (line 17) | type pseudoConfig struct method Decode (line 21) | func (pc *pseudoConfig) Decode(cfg string, expandEnv bool) error { type Encrypt (line 33) | type Encrypt struct method Run (line 41) | func (c *Encrypt) Run(globals *Globals) error { FILE: cmd/zeta-serve/command_httpd.go type HTTPD (line 15) | type HTTPD struct method Run (line 19) | func (c *HTTPD) Run(globals *Globals) error { FILE: cmd/zeta-serve/command_keygen.go type Keygen (line 23) | type Keygen struct method genRAS (line 28) | func (c *Keygen) genRAS() error { method genED25519 (line 50) | func (c *Keygen) genED25519() error { method genECDSA (line 65) | func (c *Keygen) genECDSA() error { method genX25519 (line 80) | func (c *Keygen) genX25519() error { method Run (line 96) | func (c *Keygen) Run(g *Globals) error { FILE: cmd/zeta-serve/command_sshd.go type SSHD (line 15) | type SSHD struct method Run (line 19) | func (c *SSHD) Run(globals *Globals) error { FILE: cmd/zeta-serve/global.go type Globals (line 13) | type Globals struct type VersionFlag (line 19) | type VersionFlag method Decode (line 21) | func (v VersionFlag) Decode(ctx *kong.DecodeContext) error { return nil } method IsBool (line 22) | func (v VersionFlag) IsBool() bool { return tr... method BeforeApply (line 23) | func (v VersionFlag) BeforeApply(app *kong.Kong, vars kong.Vars) error { FILE: cmd/zeta-serve/main.go type App (line 15) | type App struct function main (line 23) | func main() { FILE: cmd/zeta-serve/shutdown.go type Shutdowner (line 10) | type Shutdowner interface type closer (line 14) | type closer struct function newCloser (line 18) | func newCloser() *closer { FILE: cmd/zeta-serve/shutdown_other.go method listenSignal (line 18) | func (c *closer) listenSignal(ctx context.Context, srv Shutdowner) { FILE: cmd/zeta-serve/shutdown_windows.go method listenSignal (line 18) | func (c *closer) listenSignal(ctx context.Context, srv Shutdowner) { FILE: cmd/zeta/main.go type App (line 21) | type App struct function main (line 64) | func main() { FILE: modules/base58/alphabet.go constant alphabet (line 11) | alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz" constant alphabetIdx0 (line 13) | alphabetIdx0 = '1' FILE: modules/base58/base58.go function countNumZeros (line 29) | func countNumZeros(s string) int { function Decode (line 39) | func Decode(b string) []byte { function Encode (line 92) | func Encode(b []byte) string { FILE: modules/base58/base58_test.go function TestBase58 (line 70) | func TestBase58(t *testing.T) { FILE: modules/base58/base58bench_test.go function BenchmarkBase58Encode_5K (line 21) | func BenchmarkBase58Encode_5K(b *testing.B) { function BenchmarkBase58Encode_100K (line 28) | func BenchmarkBase58Encode_100K(b *testing.B) { function BenchmarkBase58Decode_5K (line 35) | func BenchmarkBase58Decode_5K(b *testing.B) { function BenchmarkBase58Decode_100K (line 42) | func BenchmarkBase58Decode_100K(b *testing.B) { FILE: modules/base58/base58check.go function checksum (line 20) | func checksum(input []byte) (cksum [4]byte) { function CheckEncode (line 28) | func CheckEncode(input []byte, version byte) string { function CheckDecode (line 38) | func CheckDecode(input string) (result []byte, version byte, err error) { FILE: modules/base58/base58check_test.go function TestBase58Check (line 33) | func TestBase58Check(t *testing.T) { FILE: modules/base58/example_test.go function ExampleDecode (line 14) | func ExampleDecode() { function ExampleEncode (line 28) | func ExampleEncode() { function ExampleCheckDecode (line 41) | func ExampleCheckDecode() { function ExampleCheckEncode (line 61) | func ExampleCheckEncode() { FILE: modules/base58/genalphabet.go function write (line 45) | func write(w io.Writer, b []byte) { function main (line 52) | func main() { FILE: modules/binary/read.go function Read (line 16) | func Read(r io.Reader, data ...any) error { function ReadUntil (line 27) | func ReadUntil(r io.Reader, delim byte) ([]byte, error) { function ReadUntilFromBufioReader (line 53) | func ReadUntilFromBufioReader(r *bufio.Reader, delim byte) ([]byte, erro... function ReadVariableWidthInt (line 86) | func ReadVariableWidthInt(r io.Reader) (int64, error) { constant maskContinue (line 106) | maskContinue = uint8(128) constant maskLength (line 107) | maskLength = uint8(127) constant lengthBits (line 108) | lengthBits = uint8(7) function ReadUint64 (line 112) | func ReadUint64(r io.Reader) (uint64, error) { function ReadUint32 (line 122) | func ReadUint32(r io.Reader) (uint32, error) { function ReadUint16 (line 132) | func ReadUint16(r io.Reader) (uint16, error) { function ReadHash (line 142) | func ReadHash(r io.Reader) (plumbing.Hash, error) { constant sniffLen (line 151) | sniffLen = 8000 function IsBinary (line 155) | func IsBinary(r io.Reader) (bool, error) { FILE: modules/binary/write.go function Swap16 (line 8) | func Swap16(v uint16) []byte { function Swap32 (line 14) | func Swap32(v uint32) []byte { function Swap64 (line 20) | func Swap64(v uint64) []byte { function Write (line 28) | func Write(w io.Writer, data ...any) error { function WriteVariableWidthInt (line 38) | func WriteVariableWidthInt(w io.Writer, n int64) error { function WriteUint64 (line 54) | func WriteUint64(w io.Writer, value uint64) error { function WriteUint32 (line 60) | func WriteUint32(w io.Writer, value uint32) error { function WriteUint16 (line 66) | func WriteUint16(w io.Writer, value uint16) error { FILE: modules/bitmap/bitmap.go type Bitmap (line 14) | type Bitmap struct method Write (line 73) | func (b *Bitmap) Write(w io.Writer, order binary.ByteOrder) (n int64, ... method Set (line 155) | func (b *Bitmap) Set(pos int64) error { method Get (line 219) | func (b *Bitmap) Get(pos int64) bool { method Bits (line 267) | func (b *Bitmap) Bits() uint32 { method size (line 274) | func (b *Bitmap) size() int64 { method Bytes (line 283) | func (b *Bitmap) Bytes() int64 { method Reset (line 288) | func (b *Bitmap) Reset() { function New (line 30) | func New() *Bitmap { function FromReader (line 35) | func FromReader(r io.Reader, order binary.ByteOrder) (*Bitmap, error) { function FromBytes (line 67) | func FromBytes(b []byte, order binary.ByteOrder) (*Bitmap, error) { function writeUint32 (line 95) | func writeUint32(w io.Writer, bo binary.ByteOrder, num uint32) error { function writeUint64 (line 110) | func writeUint64(w io.Writer, bo binary.ByteOrder, num uint64) error { function readUint32 (line 125) | func readUint32(r io.Reader, bo binary.ByteOrder) (uint32, error) { function readUint64 (line 135) | func readUint64(r io.Reader, bo binary.ByteOrder) (uint64, error) { constant allones (line 149) | allones = ^uint64(0) constant maxUint31 (line 150) | maxUint31 = ^uint32(0) >> 1 function setbit (line 295) | func setbit(word *uint64, idx uint64) { type rlw (line 303) | type rlw method b (line 324) | func (r rlw) b() bool { method k (line 329) | func (r rlw) k() uint32 { method l (line 334) | func (r rlw) l() uint32 { method setk (line 339) | func (r *rlw) setk(k uint32) { method setl (line 344) | func (r *rlw) setl(l uint32) { constant bmask (line 306) | bmask = uint64(1) << 63 constant kmask (line 309) | kmask = ^uint64(0) >> 32 << 31 constant lmask (line 312) | lmask = ^uint64(0) >> 33 function newRlw (line 315) | func newRlw(b bool, k, l uint32) rlw { FILE: modules/bitmap/bitmap_test.go function TestBitmapReadWrite (line 18) | func TestBitmapReadWrite(t *testing.T) { function TestBitmapGet (line 36) | func TestBitmapGet(t *testing.T) { function TestBitmapSet (line 107) | func TestBitmapSet(t *testing.T) { function TestBitmapSetOverflowL (line 145) | func TestBitmapSetOverflowL(t *testing.T) { function TestBitmapSetOverflowK (line 182) | func TestBitmapSetOverflowK(t *testing.T) { function TestBitmapSetOverflowKAllOnes (line 209) | func TestBitmapSetOverflowKAllOnes(t *testing.T) { function TestBitmapSetAllOnesPrevRlw (line 236) | func TestBitmapSetAllOnesPrevRlw(t *testing.T) { function TestRlwSetl (line 260) | func TestRlwSetl(t *testing.T) { function TestRlwSetk (line 272) | func TestRlwSetk(t *testing.T) { function TestSetBit (line 284) | func TestSetBit(t *testing.T) { function TestBug1 (line 295) | func TestBug1(t *testing.T) { function BenchmarkBitmapGet (line 309) | func BenchmarkBitmapGet(b *testing.B) { function BenchmarkBitmapGetSequential (line 316) | func BenchmarkBitmapGetSequential(b *testing.B) { function BenchmarkBitmapGetNotSequential (line 328) | func BenchmarkBitmapGetNotSequential(b *testing.B) { function BenchmarkBitmapWrite (line 340) | func BenchmarkBitmapWrite(b *testing.B) { function BenchmarkBitmapRead (line 350) | func BenchmarkBitmapRead(b *testing.B) { function BenchmarkBitmapSet (line 368) | func BenchmarkBitmapSet(b *testing.B) { function newBitmap (line 375) | func newBitmap() *Bitmap { function newBigBitmap (line 390) | func newBigBitmap() (*Bitmap, error) { FILE: modules/chardet/2022.go type recognizer2022 (line 7) | type recognizer2022 struct method Match (line 12) | func (r *recognizer2022) Match(input *recognizerInput) (output recogni... method matchConfidence (line 19) | func (r *recognizer2022) matchConfidence(input []byte) int { function newRecognizer_2022JP (line 83) | func newRecognizer_2022JP() *recognizer2022 { function newRecognizer_2022KR (line 90) | func newRecognizer_2022KR() *recognizer2022 { function newRecognizer_2022CN (line 97) | func newRecognizer_2022CN() *recognizer2022 { FILE: modules/chardet/detector.go type Result (line 10) | type Result struct type Detector (line 20) | type Detector struct method DetectBest (line 87) | func (d *Detector) DetectBest(b []byte) (r *Result, err error) { method DetectAll (line 107) | func (d *Detector) DetectAll(b []byte) ([]Result, error) { function NewTextDetector (line 73) | func NewTextDetector() *Detector { function NewHtmlDetector (line 78) | func NewHtmlDetector() *Detector { function matchHelper (line 139) | func matchHelper(r recognizer, input *recognizerInput, outputChan chan<-... type recognizerOutputs (line 143) | type recognizerOutputs method Len (line 145) | func (r recognizerOutputs) Len() int { return len(r) } method Less (line 146) | func (r recognizerOutputs) Less(i, j int) bool { return r[i].Confidenc... method Swap (line 147) | func (r recognizerOutputs) Swap(i, j int) { r[i], r[j] = r[j], r[... FILE: modules/chardet/encoding.go function NewReader (line 55) | func NewReader(r io.Reader, charset string) io.Reader { function NewWriter (line 63) | func NewWriter(w io.Writer, charset string) io.Writer { function DecodeFromCharset (line 71) | func DecodeFromCharset(input []byte, charset string) ([]byte, error) { function EncodeToCharset (line 79) | func EncodeToCharset(input []byte, charset string) ([]byte, error) { FILE: modules/chardet/multi_byte.go type recognizerMultiByte (line 8) | type recognizerMultiByte struct method Match (line 19) | func (r *recognizerMultiByte) Match(input *recognizerInput) (output re... method matchConfidence (line 27) | func (r *recognizerMultiByte) matchConfidence(input *recognizerInput) ... type charDecoder (line 15) | type charDecoder interface function binarySearch (line 70) | func binarySearch(l []uint16, c uint16) bool { type charDecoder_sjis (line 91) | type charDecoder_sjis struct method DecodeOneChar (line 94) | func (charDecoder_sjis) DecodeOneChar(input []byte) (c uint16, remain ... function newRecognizer_sjis (line 126) | func newRecognizer_sjis() *recognizerMultiByte { type charDecoder_euc (line 135) | type charDecoder_euc struct method DecodeOneChar (line 138) | func (charDecoder_euc) DecodeOneChar(input []byte) (c uint16, remain [... function newRecognizer_euc_jp (line 206) | func newRecognizer_euc_jp() *recognizerMultiByte { function newRecognizer_euc_kr (line 215) | func newRecognizer_euc_kr() *recognizerMultiByte { type charDecoder_big5 (line 224) | type charDecoder_big5 struct method DecodeOneChar (line 227) | func (charDecoder_big5) DecodeOneChar(input []byte) (c uint16, remain ... function newRecognizer_big5 (line 262) | func newRecognizer_big5() *recognizerMultiByte { type charDecoder_gb_18030 (line 271) | type charDecoder_gb_18030 struct method DecodeOneChar (line 274) | func (charDecoder_gb_18030) DecodeOneChar(input []byte) (c uint16, rem... function newRecognizer_gb_18030 (line 331) | func newRecognizer_gb_18030() *recognizerMultiByte { FILE: modules/chardet/recognizer.go type recognizer (line 3) | type recognizer interface type recognizerOutput (line 7) | type recognizerOutput type recognizerInput (line 9) | type recognizerInput struct function newRecognizerInput (line 17) | func newRecognizerInput(raw []byte, stripTag bool) *recognizerInput { function mayStripInput (line 29) | func mayStripInput(raw []byte, stripTag bool) (out []byte, stripped bool) { function computeByteStats (line 65) | func computeByteStats(input []byte) []int { function computeHasC1Bytes (line 73) | func computeHasC1Bytes(byteStats []int) bool { FILE: modules/chardet/single_byte.go type recognizerSingleByte (line 4) | type recognizerSingleByte struct method Match (line 12) | func (r *recognizerSingleByte) Match(input *recognizerInput) recognize... method parseNgram (line 90) | func (r *recognizerSingleByte) parseNgram(input []byte) int { type ngramState (line 24) | type ngramState struct method AddByte (line 41) | func (s *ngramState) AddByte(b byte) { method HitRate (line 54) | func (s *ngramState) HitRate() float32 { method lookup (line 61) | func (s *ngramState) lookup() bool { function newNgramState (line 31) | func newNgramState(table *[64]uint32) *ngramState { function newRecognizer_8859_1 (line 211) | func newRecognizer_8859_1(language string, ngram *[64]uint32) *recognize... function newRecognizer_8859_1_en (line 221) | func newRecognizer_8859_1_en() *recognizerSingleByte { function newRecognizer_8859_1_da (line 224) | func newRecognizer_8859_1_da() *recognizerSingleByte { function newRecognizer_8859_1_de (line 227) | func newRecognizer_8859_1_de() *recognizerSingleByte { function newRecognizer_8859_1_es (line 230) | func newRecognizer_8859_1_es() *recognizerSingleByte { function newRecognizer_8859_1_fr (line 233) | func newRecognizer_8859_1_fr() *recognizerSingleByte { function newRecognizer_8859_1_it (line 236) | func newRecognizer_8859_1_it() *recognizerSingleByte { function newRecognizer_8859_1_nl (line 239) | func newRecognizer_8859_1_nl() *recognizerSingleByte { function newRecognizer_8859_1_no (line 242) | func newRecognizer_8859_1_no() *recognizerSingleByte { function newRecognizer_8859_1_pt (line 245) | func newRecognizer_8859_1_pt() *recognizerSingleByte { function newRecognizer_8859_1_sv (line 248) | func newRecognizer_8859_1_sv() *recognizerSingleByte { function newRecognizer_8859_2 (line 315) | func newRecognizer_8859_2(language string, ngram *[64]uint32) *recognize... function newRecognizer_8859_2_cs (line 325) | func newRecognizer_8859_2_cs() *recognizerSingleByte { function newRecognizer_8859_2_hu (line 328) | func newRecognizer_8859_2_hu() *recognizerSingleByte { function newRecognizer_8859_2_pl (line 331) | func newRecognizer_8859_2_pl() *recognizerSingleByte { function newRecognizer_8859_2_ro (line 334) | func newRecognizer_8859_2_ro() *recognizerSingleByte { function newRecognizer_8859_5 (line 380) | func newRecognizer_8859_5(language string, ngram *[64]uint32) *recognize... function newRecognizer_8859_5_ru (line 389) | func newRecognizer_8859_5_ru() *recognizerSingleByte { function newRecognizer_8859_6 (line 435) | func newRecognizer_8859_6(language string, ngram *[64]uint32) *recognize... function newRecognizer_8859_6_ar (line 444) | func newRecognizer_8859_6_ar() *recognizerSingleByte { function newRecognizer_8859_7 (line 490) | func newRecognizer_8859_7(language string, ngram *[64]uint32) *recognize... function newRecognizer_8859_7_el (line 500) | func newRecognizer_8859_7_el() *recognizerSingleByte { function newRecognizer_8859_8 (line 553) | func newRecognizer_8859_8(language string, ngram *[64]uint32) *recognize... function newRecognizer_8859_8_I_he (line 563) | func newRecognizer_8859_8_I_he() *recognizerSingleByte { function newRecognizer_8859_8_he (line 569) | func newRecognizer_8859_8_he() *recognizerSingleByte { function newRecognizer_8859_9 (line 615) | func newRecognizer_8859_9(language string, ngram *[64]uint32) *recognize... function newRecognizer_8859_9_tr (line 625) | func newRecognizer_8859_9_tr() *recognizerSingleByte { function newRecognizer_windows_1256 (line 671) | func newRecognizer_windows_1256() *recognizerSingleByte { function newRecognizer_windows_1251 (line 722) | func newRecognizer_windows_1251() *recognizerSingleByte { function newRecognizer_KOI8_R (line 773) | func newRecognizer_KOI8_R() *recognizerSingleByte { function newRecognizer_IBM424_he (line 816) | func newRecognizer_IBM424_he(charset string, ngram *[64]uint32) *recogni... function newRecognizer_IBM424_he_rtl (line 825) | func newRecognizer_IBM424_he_rtl() *recognizerSingleByte { function newRecognizer_IBM424_he_ltr (line 829) | func newRecognizer_IBM424_he_ltr() *recognizerSingleByte { function newRecognizer_IBM420_ar (line 867) | func newRecognizer_IBM420_ar(charset string, ngram *[64]uint32) *recogni... function newRecognizer_IBM420_ar_rtl (line 876) | func newRecognizer_IBM420_ar_rtl() *recognizerSingleByte { function newRecognizer_IBM420_ar_ltr (line 880) | func newRecognizer_IBM420_ar_ltr() *recognizerSingleByte { FILE: modules/chardet/unicode.go type recognizerUtf16be (line 14) | type recognizerUtf16be struct method Match (line 21) | func (*recognizerUtf16be) Match(input *recognizerInput) (output recogn... function newRecognizer_utf16be (line 17) | func newRecognizer_utf16be() *recognizerUtf16be { type recognizerUtf16le (line 31) | type recognizerUtf16le struct method Match (line 38) | func (*recognizerUtf16le) Match(input *recognizerInput) (output recogn... function newRecognizer_utf16le (line 34) | func newRecognizer_utf16le() *recognizerUtf16le { type recognizerUtf32 (line 48) | type recognizerUtf32 struct method Match (line 78) | func (r *recognizerUtf32) Match(input *recognizerInput) (output recogn... function decodeUtf32be (line 54) | func decodeUtf32be(input []byte) uint32 { function decodeUtf32le (line 58) | func decodeUtf32le(input []byte) uint32 { function newRecognizer_utf32be (line 62) | func newRecognizer_utf32be() *recognizerUtf32 { function newRecognizer_utf32le (line 70) | func newRecognizer_utf32le() *recognizerUtf32 { FILE: modules/chardet/utf8.go type recognizerUtf8 (line 9) | type recognizerUtf8 struct method Match (line 16) | func (*recognizerUtf8) Match(input *recognizerInput) (output recognize... function newRecognizer_utf8 (line 12) | func newRecognizer_utf8() *recognizerUtf8 { FILE: modules/command/command.go constant STDERR_BUFFER_LIMIT (line 17) | STDERR_BUFFER_LIMIT = 8 * 1024 constant STDERR_BUFFER_GROUP (line 18) | STDERR_BUFFER_GROUP = 512 type LimitStderr (line 21) | type LimitStderr struct method Bytes (line 32) | func (w *LimitStderr) Bytes() []byte { method Write (line 36) | func (w *LimitStderr) Write(p []byte) (int, error) { function NewStderr (line 26) | func NewStderr() *LimitStderr { type Command (line 49) | type Command struct method Start (line 59) | func (c *Command) Start() error { method wait (line 71) | func (c *Command) wait() { method Wait (line 79) | func (c *Command) Wait() error { method UseTime (line 90) | func (c *Command) UseTime() time.Duration { method Run (line 94) | func (c *Command) Run() error { method Environ (line 178) | func (c *Command) Environ() []string { method StdoutPipe (line 182) | func (c *Command) StdoutPipe() (io.ReadCloser, error) { method StderrPipe (line 186) | func (c *Command) StderrPipe() (io.ReadCloser, error) { method StdinPipe (line 190) | func (c *Command) StdinPipe() (io.WriteCloser, error) { method Output (line 194) | func (c *Command) Output() ([]byte, error) { method OneLine (line 215) | func (c *Command) OneLine() (string, error) { method RunEx (line 223) | func (c *Command) RunEx() error { method String (line 238) | func (c *Command) String() string { method Exit (line 251) | func (c *Command) Exit() error { type prefixSuffixSaver (line 104) | type prefixSuffixSaver struct method Write (line 118) | func (w *prefixSuffixSaver) Write(p []byte) (n int, err error) { method fill (line 144) | func (w *prefixSuffixSaver) fill(dst *[]byte, p []byte) (pRemain []byt... method Bytes (line 153) | func (w *prefixSuffixSaver) Bytes() []byte { function minInt (line 171) | func minInt(a, b int) int { FILE: modules/command/shepherd.go type RunOpts (line 12) | type RunOpts struct type Shepherd (line 23) | type Shepherd interface type shepherd (line 32) | type shepherd struct method inc (line 37) | func (s *shepherd) inc() int32 { method dec (line 41) | func (s *shepherd) dec() int32 { method ProcessesCount (line 45) | func (s *shepherd) ProcessesCount() int32 { method New (line 54) | func (s *shepherd) New(ctx context.Context, repoPath string, name stri... method NewFromOptions (line 58) | func (s *shepherd) NewFromOptions(ctx context.Context, opt *RunOpts, n... function NewShepherd (line 49) | func NewShepherd(b env.Builder) Shepherd { function NewFromOptions (line 84) | func NewFromOptions(ctx context.Context, opt *RunOpts, name string, arg ... function New (line 89) | func New(ctx context.Context, repoPath string, name string, arg ...strin... function ProcessesCount (line 94) | func ProcessesCount() int32 { FILE: modules/command/shepherd_linux.go function setSysProcAttribute (line 10) | func setSysProcAttribute(c *exec.Cmd, detached bool) { function cleanExit (line 19) | func cleanExit(c *exec.Cmd, detached bool) { FILE: modules/command/shepherd_test.go function TestNewCommand (line 12) | func TestNewCommand(t *testing.T) { function TestNewCommand2 (line 22) | func TestNewCommand2(t *testing.T) { function TestNewCommand3 (line 37) | func TestNewCommand3(t *testing.T) { function TestNewCommand4 (line 47) | func TestNewCommand4(t *testing.T) { function TestWaitTimeout (line 57) | func TestWaitTimeout(t *testing.T) { function TestChildProcess (line 71) | func TestChildProcess(t *testing.T) { FILE: modules/command/shepherd_unix.go function setSysProcAttribute (line 10) | func setSysProcAttribute(c *exec.Cmd, _ bool) { function cleanExit (line 14) | func cleanExit(c *exec.Cmd, detached bool) { FILE: modules/command/shepherd_win.go function setSysProcAttribute (line 7) | func setSysProcAttribute(c *exec.Cmd, detached bool) { function cleanExit (line 11) | func cleanExit(c *exec.Cmd, _ bool) { FILE: modules/command/util.go constant NoDir (line 11) | NoDir = "" function FromError (line 14) | func FromError(err error) string { function FromErrorCode (line 27) | func FromErrorCode(err error) int { FILE: modules/crc/reader.go type Crc64Writer (line 14) | type Crc64Writer struct method Finish (line 33) | func (cw *Crc64Writer) Finish() (string, error) { type Finisher (line 20) | type Finisher interface function NewCrc64Writer (line 24) | func NewCrc64Writer(w io.Writer) *Crc64Writer { type Crc64Reader (line 44) | type Crc64Reader struct method Read (line 49) | func (cr *Crc64Reader) Read(p []byte) (n int, err error) { method Verify (line 61) | func (cr *Crc64Reader) Verify() error { function NewCrc64Reader (line 57) | func NewCrc64Reader(r io.Reader) *Crc64Reader { FILE: modules/deflect/az.go constant MaxLooseObjects (line 12) | MaxLooseObjects = 1000 constant MaxPacks (line 14) | MaxPacks = 3 constant MinPackSize (line 16) | MinPackSize = 4 * strengthen.GiByte type Pack (line 20) | type Pack struct type Result (line 26) | type Result struct method IsUntidy (line 38) | func (r *Result) IsUntidy() bool { function HousekeepingScan (line 51) | func HousekeepingScan(repoPath string) (*Result, error) { FILE: modules/deflect/deflect.go constant DefaultFileSizeLimit (line 24) | DefaultFileSizeLimit = strengthen.MiByte * 50 constant hugeSizeLimit (line 26) | hugeSizeLimit = strengthen.MiByte * 15 type Option (line 30) | type Option struct type pack (line 42) | type pack struct type Auditor (line 48) | type Auditor struct method HashLen (line 88) | func (a *Auditor) HashLen() int64 { method Counts (line 93) | func (a *Auditor) Counts() uint32 { method Size (line 98) | func (a *Auditor) Size() int64 { method Delta (line 103) | func (a *Auditor) Delta() int64 { method HugeSUM (line 108) | func (a *Auditor) HugeSUM() int64 { method Execute (line 116) | func (a *Auditor) Execute() error { method onOversized (line 129) | func (a *Auditor) onOversized(oid string, size int64) error { function NewAuditor (line 65) | func NewAuditor(repoPath string, shaFormat git.HashFormat, opts *Option)... function Du (line 139) | func Du(repoPath string) (int64, error) { FILE: modules/deflect/deflect_test.go function TestDeflectFilter (line 15) | func TestDeflectFilter(t *testing.T) { function TestDeflectFilter2 (line 49) | func TestDeflectFilter2(t *testing.T) { function TestRepoSize (line 69) | func TestRepoSize(t *testing.T) { function TestHousekeepingScan (line 83) | func TestHousekeepingScan(t *testing.T) { function TestOnOversizedCallback (line 97) | func TestOnOversizedCallback(t *testing.T) { function TestDuWithLooseObjects (line 131) | func TestDuWithLooseObjects(t *testing.T) { function TestFilterAccessors (line 162) | func TestFilterAccessors(t *testing.T) { function TestOnOversizedCallbackNil (line 198) | func TestOnOversizedCallbackNil(t *testing.T) { FILE: modules/deflect/du.go constant ENV_GIT_QUARANTINE_PATH (line 11) | ENV_GIT_QUARANTINE_PATH = "GIT_QUARANTINE_PATH" function ReadDir (line 16) | func ReadDir(name string) ([]os.DirEntry, error) { method duObject (line 38) | func (a *Auditor) duObject(p, name string, hugeReject, deltaSUM bool) er... method duPacks (line 70) | func (a *Auditor) duPacks(packdir string, hugeReject, deltaSUM bool) err... method duInternal (line 124) | func (a *Auditor) duInternal(objectsDir string, hugeReject, deltaSUM boo... method Du (line 152) | func (a *Auditor) Du() error { FILE: modules/deflect/pack.go constant fanout (line 27) | fanout = 256 constant VersionSupported (line 30) | VersionSupported uint32 = 2 constant isO64Mask (line 32) | isO64Mask = uint64(1) << 31 constant offsetMask (line 34) | offsetMask = int(0x7fffffff) function validateHeader (line 43) | func validateHeader(r io.Reader) error { method hashFromIndex (line 62) | func (a *Auditor) hashFromIndex(rs io.ReadSeeker, i int64) (string, erro... method analyzePack (line 82) | func (a *Auditor) analyzePack(p *pack) error { method analyzePack32 (line 134) | func (a *Auditor) analyzePack32(rs io.ReadSeeker, nr uint32, packsz int6... method analyzePack64 (line 174) | func (a *Auditor) analyzePack64(rs io.ReadSeeker, nr uint32, packsz int6... FILE: modules/deflect/struct.go type object32 (line 5) | type object32 struct type object64 (line 12) | type object64 struct type object32s (line 22) | type object32s method Len (line 25) | func (o object32s) Len() int { return len(o) } method Less (line 29) | func (o object32s) Less(i, j int) bool { return o[i].offset > o[j].off... method Swap (line 32) | func (o object32s) Swap(i, j int) { o[i], o[j] = o[j], o[i] } type object64s (line 34) | type object64s method Len (line 37) | func (o object64s) Len() int { return len(o) } method Less (line 41) | func (o object64s) Less(i, j int) bool { return o[i].offset > o[j].off... method Swap (line 44) | func (o object64s) Swap(i, j int) { o[i], o[j] = o[j], o[i] } FILE: modules/diferenco/algorithms_bench_test.go function generateSequence (line 13) | func generateSequence(size int, changeRate float64) []string { function generateModifiedSequence (line 25) | func generateModifiedSequence(base []string, changeRate float64) []string { function BenchmarkMyersAlgorithm (line 38) | func BenchmarkMyersAlgorithm(b *testing.B) { function BenchmarkHistogramAlgorithm (line 71) | func BenchmarkHistogramAlgorithm(b *testing.B) { function BenchmarkONPAlgorithm (line 104) | func BenchmarkONPAlgorithm(b *testing.B) { function BenchmarkPatienceAlgorithm (line 137) | func BenchmarkPatienceAlgorithm(b *testing.B) { function BenchmarkMinimalAlgorithm (line 170) | func BenchmarkMinimalAlgorithm(b *testing.B) { function BenchmarkSuffixArrayAlgorithm (line 203) | func BenchmarkSuffixArrayAlgorithm(b *testing.B) { function BenchmarkAlgorithmComparison (line 236) | func BenchmarkAlgorithmComparison(b *testing.B) { function BenchmarkSpecialCases (line 287) | func BenchmarkSpecialCases(b *testing.B) { function BenchmarkDiffRunes (line 336) | func BenchmarkDiffRunes(b *testing.B) { function BenchmarkDiffWords (line 366) | func BenchmarkDiffWords(b *testing.B) { function BenchmarkHelperFunctions (line 396) | func BenchmarkHelperFunctions(b *testing.B) { function BenchmarkWithRealWorldData (line 421) | func BenchmarkWithRealWorldData(b *testing.B) { function BenchmarkMemoryAllocation (line 517) | func BenchmarkMemoryAllocation(b *testing.B) { function BenchmarkParallel (line 541) | func BenchmarkParallel(b *testing.B) { function splitLines (line 557) | func splitLines(text string) []string { FILE: modules/diferenco/color/color.go constant Normal (line 10) | Normal = "" constant Reset (line 11) | Reset = "\033[0m" constant Bold (line 12) | Bold = "\033[1m" constant Black (line 13) | Black = "\033[30m" constant Red (line 14) | Red = "\033[31m" constant Green (line 15) | Green = "\033[32m" constant Yellow (line 16) | Yellow = "\033[33m" constant Blue (line 17) | Blue = "\033[34m" constant Magenta (line 18) | Magenta = "\033[35m" constant Cyan (line 19) | Cyan = "\033[36m" constant White (line 20) | White = "\033[37m" constant Default (line 21) | Default = "\033[39m" constant BoldBlack (line 22) | BoldBlack = "\033[1;30m" constant BoldRed (line 23) | BoldRed = "\033[1;31m" constant BoldGreen (line 24) | BoldGreen = "\033[1;32m" constant BoldYellow (line 25) | BoldYellow = "\033[1;33m" constant BoldBlue (line 26) | BoldBlue = "\033[1;34m" constant BoldMagenta (line 27) | BoldMagenta = "\033[1;35m" constant BoldCyan (line 28) | BoldCyan = "\033[1;36m" constant BoldWhite (line 29) | BoldWhite = "\033[1;37m" constant BoldDefault (line 30) | BoldDefault = "\033[1;39m" constant FaintBlack (line 31) | FaintBlack = "\033[2;30m" constant FaintRed (line 32) | FaintRed = "\033[2;31m" constant FaintGreen (line 33) | FaintGreen = "\033[2;32m" constant FaintYellow (line 34) | FaintYellow = "\033[2;33m" constant FaintBlue (line 35) | FaintBlue = "\033[2;34m" constant FaintMagenta (line 36) | FaintMagenta = "\033[2;35m" constant FaintCyan (line 37) | FaintCyan = "\033[2;36m" constant FaintWhite (line 38) | FaintWhite = "\033[2;37m" constant FaintDefault (line 39) | FaintDefault = "\033[2;39m" constant BgBlack (line 40) | BgBlack = "\033[40m" constant BgRed (line 41) | BgRed = "\033[41m" constant BgGreen (line 42) | BgGreen = "\033[42m" constant BgYellow (line 43) | BgYellow = "\033[43m" constant BgBlue (line 44) | BgBlue = "\033[44m" constant BgMagenta (line 45) | BgMagenta = "\033[45m" constant BgCyan (line 46) | BgCyan = "\033[46m" constant BgWhite (line 47) | BgWhite = "\033[47m" constant BgDefault (line 48) | BgDefault = "\033[49m" constant Faint (line 49) | Faint = "\033[2m" constant FaintItalic (line 50) | FaintItalic = "\033[2;3m" constant Reverse (line 51) | Reverse = "\033[7m" type ColorKey (line 57) | type ColorKey constant Context (line 61) | Context ColorKey = "context" constant Meta (line 62) | Meta ColorKey = "meta" constant Frag (line 63) | Frag ColorKey = "frag" constant Old (line 64) | Old ColorKey = "old" constant New (line 65) | New ColorKey = "new" constant Commit (line 66) | Commit ColorKey = "commit" constant Whitespace (line 67) | Whitespace ColorKey = "whitespace" constant Func (line 68) | Func ColorKey = "func" constant OldMoved (line 69) | OldMoved ColorKey = "oldMoved" constant OldMovedAlternative (line 70) | OldMovedAlternative ColorKey = "oldMovedAlternative" constant OldMovedDimmed (line 71) | OldMovedDimmed ColorKey = "oldMovedDimmed" constant OldMovedAlternativeDimmed (line 72) | OldMovedAlternativeDimmed ColorKey = "oldMovedAlternativeDimmed" constant NewMoved (line 73) | NewMoved ColorKey = "newMoved" constant NewMovedAlternative (line 74) | NewMovedAlternative ColorKey = "newMovedAlternative" constant NewMovedDimmed (line 75) | NewMovedDimmed ColorKey = "newMovedDimmed" constant NewMovedAlternativeDimmed (line 76) | NewMovedAlternativeDimmed ColorKey = "newMovedAlternativeDimmed" constant ContextDimmed (line 77) | ContextDimmed ColorKey = "contextDimmed" constant OldDimmed (line 78) | OldDimmed ColorKey = "oldDimmed" constant NewDimmed (line 79) | NewDimmed ColorKey = "newDimmed" constant ContextBold (line 80) | ContextBold ColorKey = "contextBold" constant OldBold (line 81) | OldBold ColorKey = "oldBold" constant NewBold (line 82) | NewBold ColorKey = "newBold" type ColorConfig (line 87) | type ColorConfig method Reset (line 139) | func (cc ColorConfig) Reset(key ColorKey) string { type ColorConfigOption (line 90) | type ColorConfigOption function WithColor (line 93) | func WithColor(key ColorKey, color string) ColorConfigOption { function NewColorConfig (line 127) | func NewColorConfig(options ...ColorConfigOption) ColorConfig { FILE: modules/diferenco/diferenco.go type Operation (line 19) | type Operation constant Delete (line 23) | Delete Operation = -1 constant Insert (line 25) | Insert Operation = 1 constant Equal (line 27) | Equal Operation = 0 type Algorithm (line 30) | type Algorithm method String (line 67) | func (a Algorithm) String() string { constant Unspecified (line 33) | Unspecified Algorithm = iota constant Histogram (line 34) | Histogram constant ONP (line 35) | ONP constant Myers (line 36) | Myers constant Minimal (line 37) | Minimal constant Patience (line 38) | Patience constant SuffixArray (line 39) | SuffixArray function AlgorithmFromName (line 75) | func AlgorithmFromName(s string) (Algorithm, error) { function commonPrefixLength (line 92) | func commonPrefixLength[E comparable](a, b []E) int { function commonSuffixLength (line 102) | func commonSuffixLength[E comparable](a, b []E) int { type Change (line 112) | type Change struct type StringDiff (line 120) | type StringDiff struct type FileStat (line 125) | type FileStat struct type Options (line 130) | type Options struct method Name (line 138) | func (o *Options) Name() string { function DiffSlices (line 151) | func DiffSlices[E comparable](ctx context.Context, L1, L2 []E, algo Algo... function Stat (line 184) | func Stat(ctx context.Context, opts *Options) (*FileStat, error) { function DiffRunes (line 211) | func DiffRunes(ctx context.Context, a, b string, algo Algorithm) ([]Stri... function DiffWords (line 238) | func DiffWords(ctx context.Context, a, b string, algo Algorithm, splitFu... FILE: modules/diferenco/diferenco_test.go function TestDiff (line 14) | func TestDiff(t *testing.T) { function TestPatchFD (line 49) | func TestPatchFD(t *testing.T) { function TestPatch (line 85) | func TestPatch(t *testing.T) { function TestPatchNew (line 121) | func TestPatchNew(t *testing.T) { function TestPatchDelete (line 147) | func TestPatchDelete(t *testing.T) { function TestDiff2 (line 173) | func TestDiff2(t *testing.T) { function TestPatchScss (line 202) | func TestPatchScss(t *testing.T) { function TestPatchCss (line 238) | func TestPatchCss(t *testing.T) { function TestShowPatch (line 274) | func TestShowPatch(t *testing.T) { function TestDiffRunes (line 297) | func TestDiffRunes(t *testing.T) { function TestDiffWords (line 318) | func TestDiffWords(t *testing.T) { function TestDiffWords2 (line 340) | func TestDiffWords2(t *testing.T) { FILE: modules/diferenco/gen_unicode.go constant eastAsianWidthURL (line 18) | eastAsianWidthURL = "https://unicode.org/Public/UNIDATA/EastAsianWidth.txt" constant emojiDataURL (line 19) | emojiDataURL = "https://unicode.org/Public/UNIDATA/emoji/emoji-data... constant outputFile (line 20) | outputFile = "unicode_data.go" constant outputPackage (line 21) | outputPackage = "diferenco" type interval (line 24) | type interval struct function main (line 29) | func main() { function run (line 36) | func run() error { function fetchRanges (line 62) | func fetchRanges(url string, wantProperty func(string) bool) ([]interval... function stripComment (line 107) | func stripComment(s string) string { function parseInterval (line 112) | func parseInterval(s string) (interval, error) { function parseHexRune (line 135) | func parseHexRune(s string) (rune, error) { function mergeIntervals (line 143) | func mergeIntervals(ranges []interval) []interval { function writeHeader (line 174) | func writeHeader(w io.Writer) { function writeIntervals (line 180) | func writeIntervals(w io.Writer, name string, ranges []interval) { function writeFileAtomically (line 189) | func writeFileAtomically(name string, data []byte, perm os.FileMode) err... FILE: modules/diferenco/histogram.go constant MaxChainLen (line 9) | MaxChainLen = 63 type histogramIndex (line 11) | type histogramIndex struct method populate (line 15) | func (h *histogramIndex[E]) populate(a []E) { method numTokenOccurrences (line 25) | func (h *histogramIndex[E]) numTokenOccurrences(e E) int { method clear (line 32) | func (h *histogramIndex[E]) clear() { type lcsMatch (line 38) | type lcsMatch struct type lcsFinder (line 44) | type lcsFinder struct method run (line 50) | func (s *lcsFinder[E]) run(before, after []E, h *histogramIndex[E]) { method updateLcs (line 66) | func (s *lcsFinder[E]) updateLcs(before, after []E, afterPos int, token ... method ok (line 123) | func (s *lcsFinder[E]) ok() bool { function findLcs (line 127) | func findLcs[E comparable](before, after []E, index *histogramIndex[E]) ... type changesOut (line 138) | type changesOut struct method run (line 142) | func (h *histogramIndex[E]) run(ctx context.Context, before []E, beforeP... function histogram (line 186) | func histogram[E comparable](ctx context.Context, L1, L2 []E) ([]Change,... FILE: modules/diferenco/histogram_test.go function TestHistogram (line 13) | func TestHistogram(t *testing.T) { function TestHistogramGit (line 39) | func TestHistogramGit(t *testing.T) { function TestHistogram2 (line 65) | func TestHistogram2(t *testing.T) { function TestHistogram3 (line 95) | func TestHistogram3(t *testing.T) { function TestHistogram4 (line 119) | func TestHistogram4(t *testing.T) { function TestHistogramHeuristic (line 152) | func TestHistogramHeuristic(t *testing.T) { FILE: modules/diferenco/lcs/common.go type lcs (line 13) | type lcs method sort (line 23) | func (l lcs) sort() lcs { method valid (line 36) | func (l lcs) valid() bool { method fix (line 50) | func (l lcs) fix() lcs { method prepend (line 144) | func (lcs lcs) prepend(x, y int) lcs { method append (line 163) | func (lcs lcs) append(x, y int) lcs { type diag (line 17) | type diag struct type direction (line 81) | type direction constant empty (line 84) | empty direction = iota constant leftdown (line 85) | leftdown constant rightup (line 86) | rightup constant bad (line 87) | bad function overlap (line 92) | func overlap(exist, prop diag) (direction, diag) { function ok (line 177) | func ok(d, k int) bool { FILE: modules/diferenco/lcs/common_test.go type Btest (line 15) | type Btest struct function init (line 62) | func init() { function check (line 66) | func check(t *testing.T, str string, lcs lcs, want []string) { function checkDiffs (line 82) | func checkDiffs(t *testing.T, before string, diffs []Diff, after string) { function lcslen (line 99) | func lcslen(l lcs) int { function randstr (line 108) | func randstr(s string, n int) string { function TestLcsFix (line 117) | func TestLcsFix(t *testing.T) { FILE: modules/diferenco/lcs/labels.go type label (line 13) | type label struct method set (line 29) | func (t *label) set(D, k, x int) { method get (line 42) | func (t *label) get(d, k int) int { constant debug (line 18) | debug = false function checkDK (line 22) | func checkDK(D, k int) { function newtriang (line 49) | func newtriang(limit int) label { FILE: modules/diferenco/lcs/old.go type Diff (line 14) | type Diff struct function DiffStrings (line 21) | func DiffStrings(a, b string) []Diff { return diff(stringSeqs{a, b}) } function DiffBytes (line 25) | func DiffBytes(a, b []byte) []Diff { return diff(bytesSeqs{a, b}) } function DiffRunes (line 28) | func DiffRunes(a, b []rune) []Diff { return diff(runesSeqs{a, b}) } function diff (line 30) | func diff(seqs sequences) []Diff { function DiffSlices (line 37) | func DiffSlices[E comparable](a, b []E) []Diff { function compute (line 44) | func compute(seqs sequences, algo func(*editGraph) lcs, limit int) ([]Di... type editGraph (line 64) | type editGraph struct method fdone (line 95) | func (e *editGraph) fdone(D, k int) (bool, lcs) { method forwardlcs (line 151) | func (e *editGraph) forwardlcs(D, k int) lcs { method lookForward (line 173) | func (e *editGraph) lookForward(k, relx int) int { method setForward (line 182) | func (e *editGraph) setForward(d, k, relx int) { method getForward (line 187) | func (e *editGraph) getForward(d, k int) int { method bdone (line 195) | func (e *editGraph) bdone(D, k int) (bool, lcs) { method backwardlcs (line 256) | func (e *editGraph) backwardlcs(D, k int) lcs { method lookBackward (line 276) | func (e *editGraph) lookBackward(k, relx int) int { method setBackward (line 286) | func (e *editGraph) setBackward(d, k, relx int) { method getBackward (line 291) | func (e *editGraph) getBackward(d, k int) int { method twoDone (line 380) | func (e *editGraph) twoDone(df, db int) (int, bool) { method twolcs (line 406) | func (e *editGraph) twolcs(df, db, kf int) lcs { method toDiffs (line 75) | func (lcs lcs) toDiffs(alen, blen int) []Diff { function forward (line 106) | func forward(e *editGraph) lcs { function backward (line 207) | func backward(e *editGraph) lcs { function twosided (line 298) | func twosided(e *editGraph) lcs { FILE: modules/diferenco/lcs/old_test.go function TestAlgosOld (line 16) | func TestAlgosOld(t *testing.T) { function TestIntOld (line 34) | func TestIntOld(t *testing.T) { function TestSpecialOld (line 62) | func TestSpecialOld(t *testing.T) { // exercises lcs.fix function TestRegressionOld001 (line 71) | func TestRegressionOld001(t *testing.T) { function TestRegressionOld002 (line 84) | func TestRegressionOld002(t *testing.T) { function TestRegressionOld003 (line 96) | func TestRegressionOld003(t *testing.T) { function TestRandOld (line 108) | func TestRandOld(t *testing.T) { function TestDiffAPI (line 132) | func TestDiffAPI(t *testing.T) { function BenchmarkTwoOld (line 159) | func BenchmarkTwoOld(b *testing.B) { function BenchmarkForwOld (line 171) | func BenchmarkForwOld(b *testing.B) { function genBench (line 183) | func genBench(set string, n int) []struct{ before, after string } { function BenchmarkLargeFileSmallDiff (line 218) | func BenchmarkLargeFileSmallDiff(b *testing.B) { FILE: modules/diferenco/lcs/sequence.go type sequences (line 10) | type sequences interface type stringSeqs (line 16) | type stringSeqs struct method lengths (line 18) | func (s stringSeqs) lengths() (int, int) { return len(s.a), len(s.b) } method commonPrefixLen (line 19) | func (s stringSeqs) commonPrefixLen(ai, aj, bi, bj int) int { method commonSuffixLen (line 22) | func (s stringSeqs) commonSuffixLen(ai, aj, bi, bj int) int { type bytesSeqs (line 28) | type bytesSeqs struct method lengths (line 30) | func (s bytesSeqs) lengths() (int, int) { return len(s.a), len(s.b) } method commonPrefixLen (line 31) | func (s bytesSeqs) commonPrefixLen(ai, aj, bi, bj int) int { method commonSuffixLen (line 34) | func (s bytesSeqs) commonSuffixLen(ai, aj, bi, bj int) int { type runesSeqs (line 38) | type runesSeqs struct method lengths (line 40) | func (s runesSeqs) lengths() (int, int) { return len(s.a), len(s.b) } method commonPrefixLen (line 41) | func (s runesSeqs) commonPrefixLen(ai, aj, bi, bj int) int { method commonSuffixLen (line 44) | func (s runesSeqs) commonSuffixLen(ai, aj, bi, bj int) int { function commonPrefixLenBytes (line 56) | func commonPrefixLenBytes(a, b []byte) int { function commonPrefixLenRunes (line 64) | func commonPrefixLenRunes(a, b []rune) int { function commonPrefixLenString (line 72) | func commonPrefixLenString(a, b string) int { function commonSuffixLenBytes (line 82) | func commonSuffixLenBytes(a, b []byte) int { function commonSuffixLenRunes (line 90) | func commonSuffixLenRunes(a, b []rune) int { function commonSuffixLenString (line 98) | func commonSuffixLenString(a, b string) int { type comparableSeqs (line 107) | type comparableSeqs struct function commonPrefixLength (line 110) | func commonPrefixLength[E comparable](a, b []E) int { function commonSuffixLength (line 120) | func commonSuffixLength[E comparable](a, b []E) int { method lengths (line 130) | func (s comparableSeqs[E]) lengths() (int, int) { return len(s.a), len(s... method commonPrefixLen (line 131) | func (s comparableSeqs[E]) commonPrefixLen(ai, aj, bi, bj int) int { method commonSuffixLen (line 134) | func (s comparableSeqs[E]) commonSuffixLen(ai, aj, bi, bj int) int { FILE: modules/diferenco/merge.go constant Sep1 (line 68) | Sep1 = "<<<<<<<" constant Sep2 (line 70) | Sep2 = "=======" constant Sep3 (line 72) | Sep3 = ">>>>>>>" constant SepO (line 74) | SepO = "|||||||" type hunk (line 77) | type hunk function diff3MergeIndices (line 90) | func diff3MergeIndices[E comparable](ctx context.Context, o, a, b []E, a... type conflict (line 180) | type conflict struct type Diff3MergeResult (line 190) | type Diff3MergeResult struct function Diff3Merge (line 198) | func Diff3Merge[E comparable](ctx context.Context, o, a, b []E, algo Alg... constant STYLE_DEFAULT (line 272) | STYLE_DEFAULT = iota constant STYLE_DIFF3 (line 289) | STYLE_DIFF3 constant STYLE_ZEALOUS_DIFF3 (line 304) | STYLE_ZEALOUS_DIFF3 function ParseConflictStyle (line 315) | func ParseConflictStyle(s string) int { type MergeOptions (line 322) | type MergeOptions struct method ValidateOptions (line 330) | func (opts *MergeOptions) ValidateOptions() error { method writeConflict (line 349) | func (s *Sink) writeConflict(out io.Writer, opts *MergeOptions, conflict... function Merge (line 389) | func Merge(ctx context.Context, opts *MergeOptions) (string, bool, error) { function DefaultMerge (line 432) | func DefaultMerge(ctx context.Context, o, a, b string, labelO, labelA, l... function HasConflict (line 436) | func HasConflict(ctx context.Context, textO, textA, textB string) (bool,... FILE: modules/diferenco/merge_parallel.go function HasConflictParallel (line 28) | func HasConflictParallel(ctx context.Context, textO, textA, textB string... function MergeParallel (line 67) | func MergeParallel(ctx context.Context, opts *MergeOptions) (string, boo... type newMergeResult (line 96) | type newMergeResult struct function newMergeInternal (line 101) | func newMergeInternal( type mergeRegion (line 154) | type mergeRegion struct function findMergeRegions (line 167) | func findMergeRegions(changesA, changesB []Change) []mergeRegion { function finalizeRegion (line 269) | func finalizeRegion(region mergeRegion, changesA, changesB []Change, aId... function isFalseConflict (line 282) | func isFalseConflict(region mergeRegion, changesA, changesB []Change, aI... function writeOriginLines (line 313) | func writeOriginLines(sink *Sink, out io.Writer, oIdx []int, start, end ... function writeNonConflictRegion (line 318) | func writeNonConflictRegion(sink *Sink, out io.Writer, aIdx, bIdx []int,... function writeConflictRegion (line 340) | func writeConflictRegion( function calculateRangeByIndices (line 369) | func calculateRangeByIndices(changes []Change, indices []int, lineIndex ... function parallelDiff (line 422) | func parallelDiff[E comparable](ctx context.Context, o, a, b []E, algo A... FILE: modules/diferenco/merge_parallel_bench_test.go function generateText (line 12) | func generateText(lines int, prefix string) string { function generateModifiedText (line 23) | func generateModifiedText(lines int, prefix string, changes int) string { function generateConflictText (line 44) | func generateConflictText(lines int, prefix string, conflictRate int) (o... function BenchmarkMergeParallel (line 102) | func BenchmarkMergeParallel(b *testing.B) { function BenchmarkMergeParallelAlgorithms (line 168) | func BenchmarkMergeParallelAlgorithms(b *testing.B) { function BenchmarkMergeParallelConflictScenarios (line 214) | func BenchmarkMergeParallelConflictScenarios(b *testing.B) { function BenchmarkMergeParallelConflictStyles (line 263) | func BenchmarkMergeParallelConflictStyles(b *testing.B) { function BenchmarkHasConflictComparison (line 308) | func BenchmarkHasConflictComparison(b *testing.B) { function BenchmarkMergeParallelMemory (line 344) | func BenchmarkMergeParallelMemory(b *testing.B) { function BenchmarkMergeParallelComponents (line 383) | func BenchmarkMergeParallelComponents(b *testing.B) { FILE: modules/diferenco/merge_parallel_test.go function TestMergeParallelBasic (line 19) | func TestMergeParallelBasic(t *testing.T) { function TestMergeParallelVsMerge (line 139) | func TestMergeParallelVsMerge(t *testing.T) { function TestMergeParallelLabels (line 236) | func TestMergeParallelLabels(t *testing.T) { function TestMergeParallelMultiLine (line 293) | func TestMergeParallelMultiLine(t *testing.T) { function TestMergeParallelContext (line 352) | func TestMergeParallelContext(t *testing.T) { function TestMergeParallelValidateOptions (line 375) | func TestMergeParallelValidateOptions(t *testing.T) { function TestMergeParallelAlgorithms (line 413) | func TestMergeParallelAlgorithms(t *testing.T) { function TestMergeParallelComplexConflicts (line 454) | func TestMergeParallelComplexConflicts(t *testing.T) { function TestMergeParallelEmptyRegion (line 520) | func TestMergeParallelEmptyRegion(t *testing.T) { function TestMergeParallelEdgeCases (line 579) | func TestMergeParallelEdgeCases(t *testing.T) { function TestHasConflictParallel (line 997) | func TestHasConflictParallel(t *testing.T) { function TestHasConflictParallelVsMerge (line 1163) | func TestHasConflictParallelVsMerge(t *testing.T) { function TestHasConflictParallelContextCancellation (line 1229) | func TestHasConflictParallelContextCancellation(t *testing.T) { FILE: modules/diferenco/merge_test.go function TestMerge (line 10) | func TestMerge(t *testing.T) { function TestMerge2 (line 57) | func TestMerge2(t *testing.T) { function TestMerge3 (line 82) | func TestMerge3(t *testing.T) { function TestMergeConflicts (line 135) | func TestMergeConflicts(t *testing.T) { function TestWriteConflictSuffix (line 173) | func TestWriteConflictSuffix(t *testing.T) { function TestConflictSuffixDirectly (line 372) | func TestConflictSuffixDirectly(t *testing.T) { function TestDiff3MergeIndicesConflictBounds (line 456) | func TestDiff3MergeIndicesConflictBounds(t *testing.T) { function TestWriteConflictSuffixNeverHappens (line 529) | func TestWriteConflictSuffixNeverHappens(t *testing.T) { function TestMergeParallelSuffixBehavior (line 580) | func TestMergeParallelSuffixBehavior(t *testing.T) { function TestMergeParallelConflictSuffixDirectly (line 660) | func TestMergeParallelConflictSuffixDirectly(t *testing.T) { FILE: modules/diferenco/minimal.go function minimal (line 10) | func minimal[E comparable](ctx context.Context, L1 []E, L2 []E) ([]Chang... FILE: modules/diferenco/minimal_test.go function TestMinimalDiff (line 13) | func TestMinimalDiff(t *testing.T) { FILE: modules/diferenco/myers.go function myers (line 15) | func myers[E comparable](ctx context.Context, L1 []E, L2 []E) ([]Change,... function myersCompute (line 25) | func myersCompute[E comparable](ctx context.Context, seq1 []E, P1 int, s... type snakePath (line 129) | type snakePath struct function newSnakePath (line 134) | func newSnakePath(pre *snakePath, x, y, length int) *snakePath { type fastIntArray (line 143) | type fastIntArray struct method get (line 155) | func (t *fastIntArray) get(i int) int { method set (line 163) | func (t *fastIntArray) set(i int, v int) { function newFastIntArray (line 148) | func newFastIntArray() *fastIntArray { type fastArrayWithNegIndex (line 183) | type fastArrayWithNegIndex struct method get (line 195) | func (t *fastArrayWithNegIndex) get(i int) *snakePath { method set (line 209) | func (t *fastArrayWithNegIndex) set(i int, v *snakePath) { function newFastPathArray (line 188) | func newFastPathArray() *fastArrayWithNegIndex { FILE: modules/diferenco/myers_bench_test.go function myersFast (line 10) | func myersFast[E comparable](ctx context.Context, a []E, P1 int, b []E, ... function buildScriptFast (line 70) | func buildScriptFast[E comparable](trace [][]int, a, b []E, P1, P2 int) ... function mergeChangesFast (line 127) | func mergeChangesFast(ch []Change) []Change { function generateTestLines (line 151) | func generateTestLines(n int) []string { function randStringBench (line 159) | func randStringBench(n int) string { function BenchmarkMyersOriginal (line 168) | func BenchmarkMyersOriginal(b *testing.B) { function BenchmarkMyersFast (line 184) | func BenchmarkMyersFast(b *testing.B) { function BenchmarkMyersOriginalLarge (line 200) | func BenchmarkMyersOriginalLarge(b *testing.B) { function BenchmarkMyersFastLarge (line 215) | func BenchmarkMyersFastLarge(b *testing.B) { FILE: modules/diferenco/myers_test.go function TestMyersDiff (line 11) | func TestMyersDiff(t *testing.T) { function TestMyersDiff2 (line 51) | func TestMyersDiff2(t *testing.T) { function TestMyersDiff3 (line 76) | func TestMyersDiff3(t *testing.T) { FILE: modules/diferenco/onp.go function onpCompute (line 14) | func onpCompute[E comparable](ctx context.Context, L1 []E, P1 int, L2 []... type onpCtx (line 29) | type onpCtx struct method compare (line 38) | func (c *onpCtx[E]) compare(ctx context.Context) ([]Change, error) { method snake (line 84) | func (c *onpCtx[E]) snake(k int) { method reverse (line 130) | func (c *onpCtx[E]) reverse(curr *onpLcs) (next *onpLcs, n int) { type point (line 137) | type point struct type onpLcs (line 142) | type onpLcs struct function onp (line 150) | func onp[E comparable](ctx context.Context, L1, L2 []E) ([]Change, error) { FILE: modules/diferenco/onp_test.go function TestONP (line 11) | func TestONP(t *testing.T) { FILE: modules/diferenco/patience.go function uniqueElements (line 32) | func uniqueElements[E comparable](a []E) ([]E, []int) { function patienceLCS (line 51) | func patienceLCS[E comparable](a, b []E) [][2]int { function patienceCompute (line 126) | func patienceCompute[E comparable](ctx context.Context, L1 []E, P1 int, ... function patience (line 195) | func patience[E comparable](ctx context.Context, L1 []E, L2 []E) ([]Chan... FILE: modules/diferenco/patience_bench_test.go function patienceLCSLegacy (line 11) | func patienceLCSLegacy[E comparable](a, b []E) [][2]int { function generateUniqueLinesPatience (line 49) | func generateUniqueLinesPatience(n int) []string { function randStringPatience (line 62) | func randStringPatience(n int) string { function BenchmarkPatienceLCSLegacy_Small (line 71) | func BenchmarkPatienceLCSLegacy_Small(b *testing.B) { function BenchmarkPatienceLCS_Small (line 86) | func BenchmarkPatienceLCS_Small(b *testing.B) { function BenchmarkPatienceLCSLegacy_Medium (line 101) | func BenchmarkPatienceLCSLegacy_Medium(b *testing.B) { function BenchmarkPatienceLCS_Medium (line 116) | func BenchmarkPatienceLCS_Medium(b *testing.B) { function BenchmarkPatienceLCSLegacy_Large (line 131) | func BenchmarkPatienceLCSLegacy_Large(b *testing.B) { function BenchmarkPatienceLCS_Large (line 146) | func BenchmarkPatienceLCS_Large(b *testing.B) { function TestPatienceLCSCorrectness (line 162) | func TestPatienceLCSCorrectness(t *testing.T) { function patienceComputeLegacy (line 188) | func patienceComputeLegacy[E comparable](ctx context.Context, L1 []E, P1... function DiffSlicesLegacy (line 251) | func DiffSlicesLegacy[E comparable](ctx context.Context, L1, L2 []E) ([]... function BenchmarkDiffSlicesLegacy (line 262) | func BenchmarkDiffSlicesLegacy(b *testing.B) { function BenchmarkPatienceDiff (line 278) | func BenchmarkPatienceDiff(b *testing.B) { function TestPatienceDiffEquivalence (line 295) | func TestPatienceDiffEquivalence(t *testing.T) { FILE: modules/diferenco/patience_test.go function TestPatienceDiff (line 11) | func TestPatienceDiff(t *testing.T) { FILE: modules/diferenco/regression_test.go function TestPatchNameHandlesNilSides (line 5) | func TestPatchNameHandlesNilSides(t *testing.T) { function TestValidateOptionsIdempotent (line 49) | func TestValidateOptionsIdempotent(t *testing.T) { FILE: modules/diferenco/sink.go constant NEWLINE_RAW (line 13) | NEWLINE_RAW = iota constant NEWLINE_LF (line 14) | NEWLINE_LF constant NEWLINE_CRLF (line 15) | NEWLINE_CRLF type Sink (line 25) | type Sink struct method addLine (line 40) | func (s *Sink) addLine(line string) int { method ScanRawLines (line 50) | func (s *Sink) ScanRawLines(r io.Reader) ([]int, error) { method ScanLines (line 67) | func (s *Sink) ScanLines(r io.Reader) ([]int, error) { method SplitRawLines (line 79) | func (s *Sink) SplitRawLines(text string) []int { method SplitLines (line 94) | func (s *Sink) SplitLines(text string) []int { method parseLines (line 112) | func (s *Sink) parseLines(r io.Reader, text string) ([]int, error) { method WriteLine (line 119) | func (s *Sink) WriteLine(w io.Writer, E ...int) { method addEqualLines (line 137) | func (s *Sink) addEqualLines(h *Hunk, index []int, start, end int) int { method ToPatch (line 152) | func (s *Sink) ToPatch(from, to *File, changes []Change, linesA, lines... function NewSink (line 31) | func NewSink(newLineMode int) *Sink { function SplitWords (line 211) | func SplitWords(s string) []string { constant modePunct (line 255) | modePunct = iota constant modeWord (line 256) | modeWord constant modeSpace (line 257) | modeSpace constant modeSingle (line 258) | modeSingle function classify (line 292) | func classify(r rune) int { FILE: modules/diferenco/sink_test.go function TestProcessLine (line 10) | func TestProcessLine(t *testing.T) { function TestProcessLineNewLine (line 24) | func TestProcessLineNewLine(t *testing.T) { function TestReadLines (line 40) | func TestReadLines(t *testing.T) { function TestReadLinesNoNewLine (line 59) | func TestReadLinesNoNewLine(t *testing.T) { function TestReadLinesLF (line 77) | func TestReadLinesLF(t *testing.T) { function TestProcessLineLF (line 96) | func TestProcessLineLF(t *testing.T) { function TestProcessLineNewLineLF (line 112) | func TestProcessLineNewLineLF(t *testing.T) { function TestSplitWord (line 128) | func TestSplitWord(t *testing.T) { function TestSplitWordsCases (line 149) | func TestSplitWordsCases(t *testing.T) { function TestSplitWordsASCIIFastPath (line 216) | func TestSplitWordsASCIIFastPath(t *testing.T) { function TestSplitWordsBoundary (line 234) | func TestSplitWordsBoundary(t *testing.T) { function equalStringSlices (line 256) | func equalStringSlices(a, b []string) bool { function BenchmarkSplitWords (line 268) | func BenchmarkSplitWords(b *testing.B) { FILE: modules/diferenco/suffixarray.go type match (line 12) | type match struct function buildSuffixArray (line 19) | func buildSuffixArray[E cmp.Ordered](data []E) []int { function compareSuffixes (line 41) | func compareSuffixes[E cmp.Ordered](data []E, i, j int) int { function findLongestCommonSubstring (line 55) | func findLongestCommonSubstring[E cmp.Ordered](data1, data2 []E, sa []in... function binarySearchMatch (line 80) | func binarySearchMatch[E cmp.Ordered](data1, data2 []E, sa []int, start2... function findSuffixPosition (line 120) | func findSuffixPosition[E cmp.Ordered](data1, data2 []E, sa []int, start... function suffixArrayComputeOrdered (line 145) | func suffixArrayComputeOrdered[E cmp.Ordered](ctx context.Context, L1 []... function suffixArray (line 215) | func suffixArray[E comparable](ctx context.Context, L1, L2 []E) ([]Chang... function trySuffixArrayDiff (line 247) | func trySuffixArrayDiff[E comparable](ctx context.Context, L1, L2 []E, p... FILE: modules/diferenco/suffixarray_test.go function TestSuffixArrayDiff (line 12) | func TestSuffixArrayDiff(t *testing.T) { function TestSuffixArrayDiffBasic (line 52) | func TestSuffixArrayDiffBasic(t *testing.T) { function TestSuffixArrayDiffRune (line 138) | func TestSuffixArrayDiffRune(t *testing.T) { function TestSuffixArrayDiffConsistency (line 201) | func TestSuffixArrayDiffConsistency(t *testing.T) { function TestBuildSuffixArray (line 252) | func TestBuildSuffixArray(t *testing.T) { function TestSuffixArrayDiffAlgorithm (line 317) | func TestSuffixArrayDiffAlgorithm(t *testing.T) { function TestSuffixArrayDiffContext (line 333) | func TestSuffixArrayDiffContext(t *testing.T) { function TestSuffixArrayDiffBinary (line 347) | func TestSuffixArrayDiffBinary(t *testing.T) { function reconstructFromChanges (line 390) | func reconstructFromChanges[E comparable](a []E, changes []Change, b []E... function equalSlices (line 422) | func equalSlices[E comparable](a, b []E) bool { FILE: modules/diferenco/text.go constant MAX_DIFF_SIZE (line 24) | MAX_DIFF_SIZE = 100 << 20 constant BINARY (line 25) | BINARY = "binary" constant UTF8 (line 26) | UTF8 = "UTF-8" constant sniffLen (line 27) | sniffLen = 8000 function checkCharset (line 35) | func checkCharset(s string) string { function detectCharset (line 42) | func detectCharset(payload []byte) string { function readUnifiedText (line 52) | func readUnifiedText(r io.Reader) (string, string, error) { function readRawText (line 96) | func readRawText(r io.Reader, size int) (string, error) { function ReadUnifiedText (line 121) | func ReadUnifiedText(r io.Reader, size int64, textconv bool) (content st... function NewUnifiedReaderEx (line 139) | func NewUnifiedReaderEx(r io.Reader, textconv bool) (io.Reader, string, ... function NewUnifiedReader (line 159) | func NewUnifiedReader(r io.Reader) (io.Reader, error) { function NewTextReader (line 173) | func NewTextReader(r io.Reader) (io.Reader, error) { FILE: modules/diferenco/unicode.go type interval (line 9) | type interval struct function isCJK (line 15) | func isCJK(r rune) bool { function isEmoji (line 20) | func isEmoji(r rune) bool { function inRange (line 25) | func inRange(ranges []interval, r rune) bool { FILE: modules/diferenco/unicode_test.go function TestIsCJK (line 8) | func TestIsCJK(t *testing.T) { function TestIsEmoji (line 61) | func TestIsEmoji(t *testing.T) { function TestInRangeBinarySearch (line 103) | func TestInRangeBinarySearch(t *testing.T) { function TestCJKVsUnicodeLibrary (line 123) | func TestCJKVsUnicodeLibrary(t *testing.T) { FILE: modules/diferenco/unified.go constant DefaultContextLines (line 15) | DefaultContextLines = 3 type File (line 17) | type File struct type Patch (line 24) | type Patch struct method Name (line 39) | func (p Patch) Name() string { method Stat (line 49) | func (p Patch) Stat() FileStat { method Format (line 59) | func (p Patch) Format() ([]byte, int) { method String (line 134) | func (p Patch) String() string { type Hunk (line 203) | type Hunk struct method Stat (line 216) | func (h Hunk) Stat() (int, int) { type Line (line 229) | type Line struct function Unified (line 234) | func Unified(ctx context.Context, opts *Options) (*Patch, error) { FILE: modules/diferenco/unified_encoder.go constant ZERO_OID_MAX (line 13) | ZERO_OID_MAX = "00000000000000000000000000000000000000000000000000000000... type UnifiedEncoder (line 32) | type UnifiedEncoder struct method Encode (line 98) | func (e *UnifiedEncoder) Encode(patches []*Patch) error { method appendPathLines (line 107) | func (e *UnifiedEncoder) appendPathLines(lines []string, fromPath, toP... method writeFilePatchHeader (line 124) | func (e *UnifiedEncoder) writeFilePatchHeader(p *Patch, b *strings.Bui... method writePatchHunk (line 188) | func (e *UnifiedEncoder) writePatchHunk(b *strings.Builder, hunk *Hunk) { method writeLine (line 239) | func (e *UnifiedEncoder) writeLine(b *strings.Builder, o *Line) { method writePatch (line 254) | func (e *UnifiedEncoder) writePatch(p *Patch) error { type EncoderOption (line 45) | type EncoderOption function WithVCS (line 48) | func WithVCS(vcs string) EncoderOption { function WithColor (line 57) | func WithColor(cc color.ColorConfig) EncoderOption { function WithSrcPrefix (line 64) | func WithSrcPrefix(prefix string) EncoderOption { function WithDstPrefix (line 71) | func WithDstPrefix(prefix string) EncoderOption { function WithNoRename (line 78) | func WithNoRename() EncoderOption { function NewUnifiedEncoder (line 85) | func NewUnifiedEncoder(w io.Writer, opts ...EncoderOption) *UnifiedEncod... FILE: modules/env/broker.go type Broker (line 15) | type Broker interface type broker (line 25) | type broker struct method ExpandEnv (line 28) | func (b *broker) ExpandEnv(s string) string { method LookupEnv (line 32) | func (b *broker) LookupEnv(key string) (string, bool) { method Getenv (line 36) | func (b *broker) Getenv(key string) string { method Setenv (line 40) | func (b *broker) Setenv(key, value string) error { method Unsetenv (line 44) | func (b *broker) Unsetenv(key string) error { method Clearenv (line 48) | func (b *broker) Clearenv() { method Environ (line 52) | func (b *broker) Environ() []string { type sanitizer (line 56) | type sanitizer struct method ExpandEnv (line 77) | func (b *sanitizer) ExpandEnv(s string) string { method LookupEnv (line 81) | func (b *sanitizer) LookupEnv(key string) (string, bool) { method Getenv (line 100) | func (b *sanitizer) Getenv(key string) string { method Setenv (line 105) | func (b *sanitizer) Setenv(key, value string) error { method Unsetenv (line 128) | func (b *sanitizer) Unsetenv(key string) error { method Clearenv (line 139) | func (b *sanitizer) Clearenv() { method Environ (line 146) | func (b *sanitizer) Environ() []string { method Find (line 158) | func (b *sanitizer) Find(k K) string { method SimpleAtoi (line 162) | func (b *sanitizer) SimpleAtoi(k K, dv int64) int64 { method SimpleAtou (line 170) | func (b *sanitizer) SimpleAtou(k K, dv uint64) uint64 { method SimpleAtob (line 178) | func (b *sanitizer) SimpleAtob(k K, dv bool) bool { method Duration (line 183) | func (b *sanitizer) Duration(k K, dv time.Duration) time.Duration { method Strings (line 191) | func (b *sanitizer) Strings(k K) []string { function NewSanitizer (line 62) | func NewSanitizer() Broker { FILE: modules/env/builder.go type Builder (line 3) | type Builder interface type builder (line 7) | type builder struct method Environ (line 10) | func (b *builder) Environ() []string { function NewBuilder (line 14) | func NewBuilder() Builder { FILE: modules/env/constant.go type K (line 11) | type K method With (line 20) | func (k K) With(s string) string { method WithBool (line 24) | func (k K) WithBool(b bool) string { method WithInt (line 31) | func (k K) WithInt(i int64) string { method WithPaths (line 35) | func (k K) WithPaths(sv []string) string { method Withs (line 39) | func (k K) Withs(sv []string) string { method Find (line 43) | func (k K) Find() string { method Strings (line 48) | func (k K) Strings() []string { method StrSplit (line 54) | func (k K) StrSplit(sep string) []string { method SimpleAtob (line 60) | func (k K) SimpleAtob(dv bool) bool { method SimpleAtoi (line 68) | func (k K) SimpleAtoi(dv int64) int64 { constant ZETA_TERMINAL_PROMPT (line 15) | ZETA_TERMINAL_PROMPT K = "ZETA_TERMINAL_PROMPT" constant ZETA_NO_SSH_AUTH_SOCK (line 16) | ZETA_NO_SSH_AUTH_SOCK K = "ZETA_NO_SSH_AUTH_SOCK" constant StandardSeparator (line 17) | StandardSeparator string = ";" FILE: modules/env/env.go function SanitizeEnv (line 11) | func SanitizeEnv(keys ...string) []string { function GetBool (line 32) | func GetBool(name string, fallback bool) (bool, error) { function GetInt (line 48) | func GetInt(name string, fallback int) (int, error) { function GetDuration (line 61) | func GetDuration(name string, fallback time.Duration) (time.Duration, er... function GetString (line 76) | func GetString(name string, fallback string) string { FILE: modules/env/env_test.go function TestEnviron (line 11) | func TestEnviron(t *testing.T) { function TestEnvironForEach (line 18) | func TestEnvironForEach(t *testing.T) { function TestSanitizeEnv (line 26) | func TestSanitizeEnv(t *testing.T) { FILE: modules/env/env_unix.go function DelayInitializeEnv (line 67) | func DelayInitializeEnv() error { function LookupPager (line 88) | func LookupPager(name string) (string, error) { FILE: modules/env/env_windows.go function hasGitExe (line 62) | func hasGitExe(installDir string) bool { function cleanupEnv (line 70) | func cleanupEnv(pathList []string) { function DelayInitializeEnv (line 89) | func DelayInitializeEnv() error { function LookupPager (line 118) | func LookupPager(name string) (string, error) { FILE: modules/env/env_windows_test.go function TestInitializeEnv (line 11) | func TestInitializeEnv(t *testing.T) { function TestLookupPager (line 18) | func TestLookupPager(t *testing.T) { FILE: modules/fnmatch/fnmatch.go constant FNM_NOESCAPE (line 20) | FNM_NOESCAPE = (1 << iota) constant FNM_PATHNAME (line 21) | FNM_PATHNAME constant FNM_PERIOD (line 22) | FNM_PERIOD constant FNM_LEADING_DIR (line 24) | FNM_LEADING_DIR constant FNM_CASEFOLD (line 25) | FNM_CASEFOLD constant FNM_IGNORECASE (line 27) | FNM_IGNORECASE = FNM_CASEFOLD constant FNM_FILE_NAME (line 28) | FNM_FILE_NAME = FNM_PATHNAME function unpackRune (line 31) | func unpackRune(str *string) rune { function Match (line 40) | func Match(pattern, s string, flags int) bool { function rangematch (line 148) | func rangematch(pattern *string, test rune, flags int) bool { FILE: modules/fnmatch/fnmatch_test.go function TestMatch (line 13) | func TestMatch(t *testing.T) { function TestWildcard (line 35) | func TestWildcard(t *testing.T) { function TestWildcardSlash (line 62) | func TestWildcardSlash(t *testing.T) { function TestWildcardFNMPeriod (line 101) | func TestWildcardFNMPeriod(t *testing.T) { function TestQuestionMark (line 125) | func TestQuestionMark(t *testing.T) { function TestQuestionMarkExceptions (line 157) | func TestQuestionMarkExceptions(t *testing.T) { function TestRange (line 182) | func TestRange(t *testing.T) { function TestBackSlash (line 265) | func TestBackSlash(t *testing.T) { function TestLiteral (line 301) | func TestLiteral(t *testing.T) { function TestFNMLeadingDir (line 330) | func TestFNMLeadingDir(t *testing.T) { function TestMatchBUG (line 355) | func TestMatchBUG(t *testing.T) { FILE: modules/gcfg/errors.go function FatalOnly (line 22) | func FatalOnly(err error) error { function newSyntaxWarning (line 34) | func newSyntaxWarning(sec, sub, variable string) error { function joinNonFatal (line 45) | func joinNonFatal(prev, cur error) (error, bool) { FILE: modules/gcfg/errors_test.go function TestXxx (line 5) | func TestXxx(t *testing.T) { FILE: modules/gcfg/example_test.go function ExampleReadStringInto (line 10) | func ExampleReadStringInto() { function ExampleReadStringInto_bool (line 27) | func ExampleReadStringInto_bool() { function ExampleReadStringInto_hyphens (line 44) | func ExampleReadStringInto_hyphens() { function ExampleReadStringInto_tags (line 61) | func ExampleReadStringInto_tags() { function ExampleReadStringInto_subsections (line 78) | func ExampleReadStringInto_subsections() { function ExampleReadStringInto_multivalue (line 99) | func ExampleReadStringInto_multivalue() { function ExampleReadStringInto_unicode (line 117) | func ExampleReadStringInto_unicode() { FILE: modules/gcfg/issues_test.go type Config1 (line 10) | type Config1 struct function TestIssue1 (line 32) | func TestIssue1(t *testing.T) { type confIssue2 (line 51) | type confIssue2 struct function TestIssue2 (line 58) | func TestIssue2(t *testing.T) { FILE: modules/gcfg/read.go function unquote (line 16) | func unquote(s string) (string, error) { function read (line 49) | func read(callback func(string, string, string, string, bool) error, function readInto (line 214) | func readInto(config any, fset *token.FileSet, file *token.File, function ReadWithCallback (line 246) | func ReadWithCallback(reader io.Reader, callback func(string, string, st... function ReadInto (line 263) | func ReadInto(config any, reader io.Reader) error { function ReadStringInto (line 278) | func ReadStringInto(config any, str string) error { function ReadFileInto (line 285) | func ReadFileInto(config any, filename string) error { FILE: modules/gcfg/read_test.go constant sp64 (line 18) | sp64 = " " constant sp512 (line 20) | sp512 = sp64 + sp64 + sp64 + sp64 + sp64 + sp64 + sp64 + sp64 constant sp4096 (line 22) | sp4096 = sp512 + sp512 + sp512 + sp512 + sp512 + sp512 + sp512 + sp512 type cBasic (line 25) | type cBasic struct type cBasicS1 (line 32) | type cBasicS1 struct type cBasicS2 (line 37) | type cBasicS2 struct type cBasicS3 (line 40) | type cBasicS3 struct type nonMulti (line 44) | type nonMulti type unmarshalable (line 46) | type unmarshalable method UnmarshalText (line 48) | func (u *unmarshalable) UnmarshalText(text []byte) error { type cUni (line 59) | type cUni struct type cUniS1 (line 63) | type cUniS1 struct type cUniS2 (line 66) | type cUniS2 struct type cMulti (line 70) | type cMulti struct type cMultiS1 (line 75) | type cMultiS1 struct type cMultiS2 (line 76) | type cMultiS2 struct type cMultiS3 (line 77) | type cMultiS3 struct type cSubs (line 79) | type cSubs struct type cSubsS1 (line 80) | type cSubsS1 struct type cBool (line 82) | type cBool struct type cBoolS1 (line 83) | type cBoolS1 struct type cTxUnm (line 85) | type cTxUnm struct type cTxUnmS1 (line 86) | type cTxUnmS1 struct type cNum (line 88) | type cNum struct type cNumS1 (line 93) | type cNumS1 struct type cNumS2 (line 98) | type cNumS2 struct type cNumS3 (line 102) | type cNumS3 struct type readtest (line 103) | type readtest struct function newString (line 109) | func newString(s string) *string { function newStringSlice (line 114) | func newStringSlice(s ...string) *[]string { function TestReadStringInto (line 286) | func TestReadStringInto(t *testing.T) { function TestReadStringIntoMultiBlankPreset (line 297) | func TestReadStringIntoMultiBlankPreset(t *testing.T) { function testRead (line 303) | func testRead(t *testing.T, id string, tt readtest) { function testReadInto (line 311) | func testReadInto(t *testing.T, id string, tt readtest, res any) { function TestReadFileInto (line 335) | func TestReadFileInto(t *testing.T) { function TestReadFileIntoUnicode (line 346) | func TestReadFileIntoUnicode(t *testing.T) { function TestReadStringIntoSubsectDefaults (line 357) | func TestReadStringIntoSubsectDefaults(t *testing.T) { function TestReadStringIntoExtraData (line 378) | func TestReadStringIntoExtraData(t *testing.T) { function TestReadWithCallback (line 397) | func TestReadWithCallback(t *testing.T) { function TestReadWithCallback_WithError (line 459) | func TestReadWithCallback_WithError(t *testing.T) { FILE: modules/gcfg/scanner/errors.go type Error (line 20) | type Error struct method Error (line 26) | func (e Error) Error() string { type ErrorList (line 37) | type ErrorList method Add (line 40) | func (p *ErrorList) Add(pos token.Position, msg string) { method Reset (line 45) | func (p *ErrorList) Reset() { *p = (*p)[0:0] } method Len (line 48) | func (p ErrorList) Len() int { return len(p) } method Swap (line 49) | func (p ErrorList) Swap(i, j int) { p[i], p[j] = p[j], p[i] } method Less (line 51) | func (p ErrorList) Less(i, j int) bool { method Sort (line 66) | func (p ErrorList) Sort() { method RemoveMultiples (line 71) | func (p *ErrorList) RemoveMultiples() { method Error (line 86) | func (p ErrorList) Error() string { method Err (line 98) | func (p ErrorList) Err() error { function PrintError (line 108) | func PrintError(w io.Writer, err error) { FILE: modules/gcfg/scanner/example_test.go function ExampleScanner_Scan (line 15) | func ExampleScanner_Scan() { FILE: modules/gcfg/scanner/scanner.go type ErrorHandler (line 29) | type ErrorHandler type Scanner (line 34) | type Scanner struct method next (line 55) | func (s *Scanner) next() error { method Init (line 115) | func (s *Scanner) Init(file *token.File, src []byte, err ErrorHandler,... method error (line 138) | func (s *Scanner) error(offs int, msg string) error { method scanComment (line 154) | func (s *Scanner) scanComment() string { method scanIdentifier (line 172) | func (s *Scanner) scanIdentifier() string { method scanEscape (line 181) | func (s *Scanner) scanEscape(val bool) error { method scanString (line 202) | func (s *Scanner) scanString() (string, error) { method scanValString (line 241) | func (s *Scanner) scanValString() (string, error) { method skipWhitespace (line 292) | func (s *Scanner) skipWhitespace() { method Scan (line 320) | func (s *Scanner) Scan() (pos token.Pos, tok token.Token, lit string, ... type Mode (line 94) | type Mode constant ScanComments (line 97) | ScanComments Mode = 1 << iota function isLetter (line 164) | func isLetter(ch rune) bool { function isDigit (line 168) | func isDigit(ch rune) bool { function stripCR (line 229) | func stripCR(b []byte) []byte { function isWhiteSpace (line 288) | func isWhiteSpace(ch rune) bool { FILE: modules/gcfg/scanner/scanner_test.go constant special (line 18) | special = iota constant literal (line 19) | literal constant operator (line 20) | operator function tokenclass (line 23) | func tokenclass(tok token.Token) int { type elt (line 33) | type elt struct constant whitespace (line 83) | whitespace = " \t \n\n\n" function newlineCount (line 96) | func newlineCount(s string) int { function checkPos (line 106) | func checkPos(t *testing.T, lit string, p token.Pos, expected token.Posi... function TestScan (line 123) | func TestScan(t *testing.T) { function TestScanValStringEOF (line 260) | func TestScanValStringEOF(t *testing.T) { function TestInit (line 283) | func TestInit(t *testing.T) { function TestStdErrorHandler (line 329) | func TestStdErrorHandler(t *testing.T) { type errorCollector (line 374) | type errorCollector struct function checkError (line 380) | func checkError(t *testing.T, src string, tok token.Token, pos int, err ... function TestScanErrors (line 455) | func TestScanErrors(t *testing.T) { function BenchmarkScan (line 461) | func BenchmarkScan(b *testing.B) { FILE: modules/gcfg/set.go type tag (line 26) | type tag struct function newTag (line 31) | func newTag(ts string) tag { function fieldFold (line 43) | func fieldFold(v reflect.Value, name string) (reflect.Value, tag) { type setter (line 67) | type setter function textUnmarshalerSetter (line 73) | func textUnmarshalerSetter(d any, blank bool, val string, t tag) error { function boolSetter (line 84) | func boolSetter(d any, blank bool, val string, t tag) error { function intMode (line 96) | func intMode(mode string) types.IntMode { function intModeDefault (line 125) | func intModeDefault(t reflect.Type) types.IntMode { function intSetter (line 133) | func intSetter(d any, blank bool, val string, t tag) error { function stringSetter (line 144) | func stringSetter(d any, blank bool, val string, t tag) error { function typeSetter (line 176) | func typeSetter(d any, blank bool, val string, tt tag) error { function kindSetter (line 185) | func kindSetter(d any, blank bool, val string, tt tag) error { function scanSetter (line 194) | func scanSetter(d any, blank bool, val string, tt tag) error { function newValue (line 201) | func newValue(sect string, vCfg reflect.Value, function set (line 225) | func set(cfg any, sect, sub, name string, FILE: modules/gcfg/token/position.go type Position (line 29) | type Position struct method IsValid (line 37) | func (pos *Position) IsValid() bool { return pos.Line > 0 } method String (line 45) | func (pos Position) String() string { type Pos (line 78) | type Pos method IsValid (line 87) | func (p Pos) IsValid() bool { constant NoPos (line 84) | NoPos Pos = 0 type File (line 96) | type File struct method Name (line 108) | func (f *File) Name() string { method Base (line 113) | func (f *File) Base() int { method Size (line 118) | func (f *File) Size() int { method LineCount (line 123) | func (f *File) LineCount() int { method AddLine (line 133) | func (f *File) AddLine(offset int) { method SetLines (line 148) | func (f *File) SetLines(lines []int) bool { method SetLinesForContent (line 165) | func (f *File) SetLinesForContent(content []byte) { method AddLineInfo (line 201) | func (f *File) AddLineInfo(offset int, filename string, line int) { method Pos (line 212) | func (f *File) Pos(offset int) (Pos, error) { method Offset (line 222) | func (f *File) Offset(p Pos) (int, error) { method Line (line 231) | func (f *File) Line(p Pos) (int, error) { method info (line 245) | func (f *File) info(offset int) (filename string, line, column int) { method position (line 263) | func (f *File) position(p Pos) (pos Position) { method Position (line 272) | func (f *File) Position(p Pos) (Position, error) { type lineInfo (line 187) | type lineInfo struct function searchLineInfos (line 240) | func searchLineInfos(a []lineInfo, x int) int { type FileSet (line 288) | type FileSet struct method Base (line 304) | func (s *FileSet) Base() int { method AddFile (line 326) | func (s *FileSet) AddFile(filename string, base, size int) (*File, err... method Iterate (line 347) | func (s *FileSet) Iterate(f func(*File) bool) { method file (line 365) | func (s *FileSet) file(p Pos) *File { method File (line 385) | func (s *FileSet) File(p Pos) (f *File) { method Position (line 395) | func (s *FileSet) Position(p Pos) (pos Position) { function NewFileSet (line 296) | func NewFileSet() *FileSet { function searchFiles (line 361) | func searchFiles(a []*File, x int) int { function searchInts (line 409) | func searchInts(a []int, x int) int { FILE: modules/gcfg/token/position_test.go function checkPos (line 12) | func checkPos(t *testing.T, msg string, p, q Position) { function TestNoPos (line 27) | func TestNoPos(t *testing.T) { function linecol (line 53) | func linecol(lines []int, offs int) (int, int) { function verifyPositions (line 64) | func verifyPositions(t *testing.T, fset *FileSet, f *File, lines []int) { function makeTestSource (line 92) | func makeTestSource(size int, lines []int) []byte { function TestPositions (line 102) | func TestPositions(t *testing.T) { function TestLineInfo (line 167) | func TestLineInfo(t *testing.T) { function TestFiles (line 200) | func TestFiles(t *testing.T) { FILE: modules/gcfg/token/serialize.go type serializedFile (line 7) | type serializedFile struct type serializedFileSet (line 16) | type serializedFileSet struct method Read (line 22) | func (s *FileSet) Read(decode func(any) error) error { method Write (line 43) | func (s *FileSet) Write(encode func(any) error) error { FILE: modules/gcfg/token/serialize_test.go function equal (line 16) | func equal(p, q *FileSet) error { function checkSerialize (line 71) | func checkSerialize(t *testing.T, p *FileSet) { function TestSerialization (line 93) | func TestSerialization(t *testing.T) { FILE: modules/gcfg/token/token.go type Token (line 15) | type Token method String (line 60) | func (tok Token) String() string { method IsLiteral (line 75) | func (tok Token) IsLiteral() bool { return literal_beg < tok && tok < ... method IsOperator (line 79) | func (tok Token) IsOperator() bool { return operator_beg < tok && tok ... constant ILLEGAL (line 20) | ILLEGAL Token = iota constant EOF (line 21) | EOF constant COMMENT (line 22) | COMMENT constant literal_beg (line 24) | literal_beg constant IDENT (line 27) | IDENT constant STRING (line 28) | STRING constant literal_end (line 29) | literal_end constant operator_beg (line 31) | operator_beg constant ASSIGN (line 33) | ASSIGN constant LBRACK (line 34) | LBRACK constant RBRACK (line 35) | RBRACK constant EOL (line 36) | EOL constant operator_end (line 37) | operator_end FILE: modules/gcfg/types/bool.go function ParseBool (line 17) | func ParseBool(s string) (bool, error) { FILE: modules/gcfg/types/enum.go type EnumParser (line 11) | type EnumParser struct method AddVals (line 19) | func (ep *EnumParser) AddVals(vals map[string]any) { method Parse (line 35) | func (ep EnumParser) Parse(s string) (any, error) { FILE: modules/gcfg/types/enum_test.go function TestEnumParserBool (line 7) | func TestEnumParserBool(t *testing.T) { FILE: modules/gcfg/types/int.go type IntMode (line 16) | type IntMode method String (line 26) | func (m IntMode) String() string { constant Dec (line 20) | Dec IntMode = 1 << iota constant Hex (line 21) | Hex constant Oct (line 22) | Oct function prefix0 (line 40) | func prefix0(val string) bool { function prefix0x (line 44) | func prefix0x(val string) bool { function ParseInt (line 51) | func ParseInt(intptr any, val string, mode IntMode) error { FILE: modules/gcfg/types/int_test.go function elem (line 8) | func elem(p any) any { function TestParseInt (line 12) | func TestParseInt(t *testing.T) { FILE: modules/gcfg/types/scan.go function ScanFully (line 11) | func ScanFully(ptr any, val string, verb byte) error { FILE: modules/gcfg/types/scan_test.go function TestScanFully (line 8) | func TestScanFully(t *testing.T) { FILE: modules/git/branch.go function JoinBranchPrefix (line 13) | func JoinBranchPrefix(b string) string { function JoinBranchRev (line 20) | func JoinBranchRev(r string) string { function RevParseCurrentName (line 35) | func RevParseCurrentName(ctx context.Context, environ []string, repoPath... function RevParseCurrent (line 66) | func RevParseCurrent(ctx context.Context, environ []string, repoPath str... function SymReferenceLink (line 86) | func SymReferenceLink(ctx context.Context, repoPath string, refname stri... function FindBranch (line 94) | func FindBranch(ctx context.Context, repoPath string, name string) (*Ref... function ParseBranchLineEx (line 115) | func ParseBranchLineEx(referenceLine string) (*ReferenceEx, error) { FILE: modules/git/command.go type commandReader (line 11) | type commandReader struct method Read (line 16) | func (c *commandReader) Read(p []byte) (int, error) { method Close (line 23) | func (c *commandReader) Close() (err error) { function NewReader (line 31) | func NewReader(ctx context.Context, opt *command.RunOpts, arg ...string)... FILE: modules/git/commit.go type ExtraHeader (line 18) | type ExtraHeader struct type Commit (line 27) | type Commit struct method Size (line 47) | func (c *Commit) Size() int64 { method Signature (line 51) | func (c *Commit) Signature() string { method ExtractCommitGPGSignature (line 66) | func (c *Commit) ExtractCommitGPGSignature() *CommitGPGSignature { method Decode (line 115) | func (c *Commit) Decode(hash string, reader io.Reader, size int64) err... method Subject (line 187) | func (c *Commit) Subject() string { type CommitGPGSignature (line 61) | type CommitGPGSignature struct function RevUniqueList (line 194) | func RevUniqueList(ctx context.Context, repoPath string, ours, theirs st... function RevDivergingCount (line 230) | func RevDivergingCount(ctx context.Context, repoPath string, from, to st... FILE: modules/git/commit_test.go function TestCommitDecodeWithMultipleParents (line 9) | func TestCommitDecodeWithMultipleParents(t *testing.T) { function TestCommitDecodeWithSpecialCharacters (line 29) | func TestCommitDecodeWithSpecialCharacters(t *testing.T) { function TestCommitDecodeWithExtraHeaderBeforeStandard (line 63) | func TestCommitDecodeWithExtraHeaderBeforeStandard(t *testing.T) { function TestCommitDecodeWithComplexHeaders (line 87) | func TestCommitDecodeWithComplexHeaders(t *testing.T) { FILE: modules/git/config/config.go function New (line 4) | func New() *Config { type Config (line 9) | type Config struct method Section (line 34) | func (c *Config) Section(name string) *Section { method HasSection (line 48) | func (c *Config) HasSection(name string) bool { method RemoveSection (line 58) | func (c *Config) RemoveSection(name string) *Config { method RemoveSubsection (line 71) | func (c *Config) RemoveSubsection(section string, subsection string) *... method AddOption (line 89) | func (c *Config) AddOption(section string, subsection string, key stri... method SetOption (line 101) | func (c *Config) SetOption(section string, subsection string, key stri... method HashFormat (line 111) | func (c *Config) HashFormat() string { method ReferencesFormat (line 120) | func (c *Config) ReferencesFormat() string { type Includes (line 16) | type Includes type Include (line 19) | type Include struct type Comment (line 25) | type Comment constant NoSubsection (line 30) | NoSubsection = "" FILE: modules/git/config/decoder.go type Decoder (line 12) | type Decoder struct method Decode (line 23) | func (d *Decoder) Decode(config *Config) error { function NewDecoder (line 17) | func NewDecoder(r io.Reader) *Decoder { function BareDecode (line 41) | func BareDecode(repoPath string) (*Config, error) { FILE: modules/git/config/option.go type Option (line 10) | type Option struct method IsKey (line 22) | func (o *Option) IsKey(key string) bool { type Options (line 18) | type Options method GoString (line 26) | func (opts Options) GoString() string { method Get (line 48) | func (opts Options) Get(key string) string { method Has (line 59) | func (opts Options) Has(key string) bool { method GetAll (line 69) | func (opts Options) GetAll(key string) []string { method withoutOption (line 79) | func (opts Options) withoutOption(key string) Options { method withAddedOption (line 89) | func (opts Options) withAddedOption(key string, value string) Options { method withSettedOption (line 93) | func (opts Options) withSettedOption(key string, values ...string) Opt... FILE: modules/git/config/section.go type Section (line 28) | type Section struct method IsName (line 62) | func (s *Section) IsName(name string) bool { method Subsection (line 68) | func (s *Section) Subsection(name string) *Subsection { method HasSubsection (line 82) | func (s *Section) HasSubsection(name string) bool { method RemoveSubsection (line 93) | func (s *Section) RemoveSubsection(name string) *Section { method Option (line 107) | func (s *Section) Option(key string) string { method OptionAll (line 113) | func (s *Section) OptionAll(key string) []string { method HasOption (line 118) | func (s *Section) HasOption(key string) bool { method AddOption (line 123) | func (s *Section) AddOption(key string, value string) *Section { method SetOption (line 130) | func (s *Section) SetOption(key string, value string) *Section { method RemoveOption (line 136) | func (s *Section) RemoveOption(key string) *Section { type Subsection (line 34) | type Subsection struct method IsName (line 142) | func (s *Subsection) IsName(name string) bool { method Option (line 148) | func (s *Subsection) Option(key string) string { method OptionAll (line 154) | func (s *Subsection) OptionAll(key string) []string { method HasOption (line 159) | func (s *Subsection) HasOption(key string) bool { method AddOption (line 164) | func (s *Subsection) AddOption(key string, value string) *Subsection { method SetOption (line 171) | func (s *Subsection) SetOption(key string, value ...string) *Subsection { method RemoveOption (line 177) | func (s *Subsection) RemoveOption(key string) *Subsection { type Sections (line 39) | type Sections method GoString (line 41) | func (s Sections) GoString() string { type Subsections (line 50) | type Subsections method GoString (line 52) | func (s Subsections) GoString() string { FILE: modules/git/constant.go constant GIT_HASH_UNKNOWN (line 11) | GIT_HASH_UNKNOWN = 0 constant GIT_HASH_SHA1 (line 12) | GIT_HASH_SHA1 = 1 constant GIT_HASH_SHA256 (line 13) | GIT_HASH_SHA256 = 2 constant GIT_SHA1_RAWSZ (line 14) | GIT_SHA1_RAWSZ = 20 constant GIT_SHA1_HEXSZ (line 15) | GIT_SHA1_HEXSZ = GIT_SHA1_RAWSZ * 2 constant GIT_SHA256_RAWSZ (line 16) | GIT_SHA256_RAWSZ = 32 constant GIT_SHA256_HEXSZ (line 17) | GIT_SHA256_HEXSZ = GIT_SHA256_RAWSZ * 2 constant GIT_MAX_RAWSZ (line 18) | GIT_MAX_RAWSZ = GIT_SHA256_RAWSZ constant GIT_MAX_HEXSZ (line 19) | GIT_MAX_HEXSZ = GIT_SHA256_HEXSZ constant GIT_SHA1_ZERO_HEX (line 20) | GIT_SHA1_ZERO_HEX = "0000000000000000000000000000000000000000" constant GIT_SHA256_ZERO_HEX (line 21) | GIT_SHA256_ZERO_HEX = "00000000000000000000000000000000000000000000000... constant GIT_SHA1_EMPTY_TREE (line 22) | GIT_SHA1_EMPTY_TREE = "4b825dc642cb6eb9a060e54bf8d69288fbee4904" constant GIT_SHA1_EMPTY_BLOB (line 23) | GIT_SHA1_EMPTY_BLOB = "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" constant GIT_SHA256_EMPTY_TREE (line 24) | GIT_SHA256_EMPTY_TREE = "6ef19b41225c5369f1c104d45d8d85efa9b057b53b14b4b... constant GIT_SHA256_EMPTY_BLOB (line 25) | GIT_SHA256_EMPTY_BLOB = "473a0f4c3be8a93681a267e3b1e9a7dcda1185436fe141f... constant GIT_SHA1_NAME (line 26) | GIT_SHA1_NAME = "sha1" constant GIT_SHA256_NAME (line 27) | GIT_SHA256_NAME = "sha256" constant HashKey (line 28) | HashKey = "hash-algo" constant ReferenceNameDefault (line 29) | ReferenceNameDefault = "refs/heads/master" constant reverseHexTable (line 33) | reverseHexTable = "" + function ValidateHexLax (line 57) | func ValidateHexLax(hs string) bool { function ValidateNumber (line 70) | func ValidateNumber(s string) bool { function ValidateHex (line 80) | func ValidateHex(hs string) error { function IsValidateSHA256 (line 93) | func IsValidateSHA256(hs string) bool { function IsHashZero (line 106) | func IsHashZero(hexOID string) bool { function ConformingHashZero (line 113) | func ConformingHashZero(hexOID string) string { function ConformingEmptyTree (line 120) | func ConformingEmptyTree(hexOID string) string { function ConformingEmptyBlob (line 127) | func ConformingEmptyBlob(hexOID string) string { type HashFormat (line 135) | type HashFormat method String (line 143) | func (h HashFormat) String() string { method RawSize (line 154) | func (h HashFormat) RawSize() int { method HexSize (line 165) | func (h HashFormat) HexSize() int { method EmptyTreeID (line 175) | func (h HashFormat) EmptyTreeID() string { method EmptyBlobID (line 185) | func (h HashFormat) EmptyBlobID() string { method ZeroOID (line 195) | func (h HashFormat) ZeroOID() string { method Hasher (line 205) | func (h HashFormat) Hasher() hash.Hash { constant HashUNKNOWN (line 138) | HashUNKNOWN HashFormat = iota constant HashSHA1 (line 139) | HashSHA1 constant HashSHA256 (line 140) | HashSHA256 function HashFormatFromName (line 215) | func HashFormatFromName(algo string) HashFormat { function HashFormatFromSize (line 225) | func HashFormatFromSize(size int) HashFormat { function HashFormatFromBinarySize (line 235) | func HashFormatFromBinarySize(bsize int) HashFormat { FILE: modules/git/decode.go constant contentsCommand (line 19) | contentsCommand = "contents" constant infoCommand (line 22) | infoCommand = "info" constant flushCommand (line 26) | flushCommand = "flush" type Decoder (line 29) | type Decoder struct method Close (line 66) | func (d *Decoder) Close() error { method flush (line 73) | func (d *Decoder) flush() error { method readObject (line 88) | func (d *Decoder) readObject(cmd, revision string) error { method readBatchLine (line 115) | func (d *Decoder) readBatchLine() (string, string, int64, error) { method Meta (line 142) | func (d *Decoder) Meta(objectKey string) (*Metadata, error) { method object (line 157) | func (d *Decoder) object(objectKey string) (*Object, error) { method ObjectReader (line 173) | func (d *Decoder) ObjectReader(objectKey string) (*Object, error) { method Object (line 177) | func (d *Decoder) Object(objectKey string) (any, error) { method Tree (line 210) | func (d *Decoder) Tree(objectKey string) (*Tree, error) { method Commit (line 227) | func (d *Decoder) Commit(objectKey string) (*Commit, error) { method Blob (line 243) | func (d *Decoder) Blob(objectKey string) (*Object, error) { method ReadOverflow (line 255) | func (d *Decoder) ReadOverflow(objectKey string, limit int64) (b []byt... method BlobEntry (line 268) | func (d *Decoder) BlobEntry(revision string, path string) (*Object, er... method ReadEntry (line 272) | func (d *Decoder) ReadEntry(revision string, path string) (*Object, er... method ParseRev (line 277) | func (d *Decoder) ParseRev(objectKey string) (*Commit, error) { method ExhaustiveMeta (line 305) | func (d *Decoder) ExhaustiveMeta(location string) (*Metadata, error) { method ExhaustiveObjectReader (line 332) | func (d *Decoder) ExhaustiveObjectReader(location string) (*Object, er... function NewDecoder (line 35) | func NewDecoder(ctx context.Context, repoPath string) (*Decoder, error) { constant missingSuffix (line 108) | missingSuffix = " missing" function ParseRev (line 353) | func ParseRev(ctx context.Context, repoPath string, revision string) (*C... FILE: modules/git/error.go type ErrNotExist (line 10) | type ErrNotExist struct method Error (line 20) | func (err *ErrNotExist) Error() string { function IsErrNotExist (line 15) | func IsErrNotExist(err error) bool { function NewObjectNotFound (line 24) | func NewObjectNotFound(oid string) error { function NewBranchNotFound (line 28) | func NewBranchNotFound(branch string) error { function NewTagNotFound (line 36) | func NewTagNotFound(branch string) error { function NewRevisionNotFound (line 40) | func NewRevisionNotFound(branch string) error { type ErrUnexpectedType (line 44) | type ErrUnexpectedType struct method Error (line 48) | func (e *ErrUnexpectedType) Error() string { function IsErrUnexpectedType (line 52) | func IsErrUnexpectedType(err error) bool { function ErrorIsNotFound (line 67) | func ErrorIsNotFound(message string) bool { FILE: modules/git/filemode.go type FileMode (line 18) | type FileMode method Bytes (line 122) | func (m FileMode) Bytes() []byte { method IsMalformed (line 131) | func (m FileMode) IsMalformed() bool { method String (line 145) | func (m FileMode) String() string { method IsRegular (line 153) | func (m FileMode) IsRegular() bool { method IsFile (line 160) | func (m FileMode) IsFile() bool { method ToOSFileMode (line 187) | func (m FileMode) ToOSFileMode() (os.FileMode, error) { method MarshalJSON (line 207) | func (m FileMode) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 211) | func (m *FileMode) UnmarshalJSON(b []byte) error { constant Empty (line 31) | Empty FileMode = 0 constant Dir (line 33) | Dir FileMode = 0040000 constant Regular (line 36) | Regular FileMode = 0100644 constant Deprecated (line 43) | Deprecated FileMode = 0100664 constant Executable (line 45) | Executable FileMode = 0100755 constant Symlink (line 47) | Symlink FileMode = 0120000 constant Submodule (line 50) | Submodule FileMode = 0160000 function New (line 62) | func New(s string) (FileMode, error) { function NewFromOS (line 79) | func NewFromOS(m os.FileMode) (FileMode, error) { function isSetCharDevice (line 104) | func isSetCharDevice(m os.FileMode) bool { function isSetTemporary (line 108) | func isSetTemporary(m os.FileMode) bool { function isSetUserExecutable (line 112) | func isSetUserExecutable(m os.FileMode) bool { function isSetSymLink (line 116) | func isSetSymLink(m os.FileMode) bool { type ErrMalformedMode (line 167) | type ErrMalformedMode struct method Error (line 171) | func (e *ErrMalformedMode) Error() string { function IsErrMalformedMode (line 175) | func IsErrMalformedMode(err error) bool { FILE: modules/git/gitobj/backend.go function NewFilesystemBackend (line 23) | func NewFilesystemBackend(root, tmp, alternates string, algo hash.Hash) ... function findAllBackends (line 46) | func findAllBackends(mainLoose *fileStorer, mainPacked *pack.Storage, ro... function addAlternateDirectory (line 75) | func addAlternateDirectory(s []storage.Storage, dir string, algo hash.Ha... function addAlternatesFromEnvironment (line 85) | func addAlternatesFromEnvironment(s []storage.Storage, env string, algo ... function splitAlternateString (line 120) | func splitAlternateString(env string, separator string) []string { function NewMemoryBackend (line 149) | func NewMemoryBackend(m map[string]io.ReadWriter) (storage.Backend, erro... type filesystemBackend (line 153) | type filesystemBackend struct method Storage (line 158) | func (b *filesystemBackend) Storage() (storage.Storage, storage.Writab... type memoryBackend (line 162) | type memoryBackend struct method Storage (line 166) | func (b *memoryBackend) Storage() (storage.Storage, storage.WritableSt... FILE: modules/git/gitobj/backend_nix.go constant alternatesSeparator (line 5) | alternatesSeparator = ":" FILE: modules/git/gitobj/backend_test.go function TestNewMemoryBackend (line 11) | func TestNewMemoryBackend(t *testing.T) { function TestNewMemoryBackendWithReadOnlyData (line 26) | func TestNewMemoryBackendWithReadOnlyData(t *testing.T) { function TestNewMemoryBackendWithWritableData (line 58) | func TestNewMemoryBackendWithWritableData(t *testing.T) { function TestSplitAlternatesString (line 90) | func TestSplitAlternatesString(t *testing.T) { FILE: modules/git/gitobj/backend_windows.go constant alternatesSeparator (line 5) | alternatesSeparator = ";" FILE: modules/git/gitobj/blob.go type Blob (line 12) | type Blob struct method Type (line 69) | func (b *Blob) Type() ObjectType { return BlobObjectType } method Decode (line 76) | func (b *Blob) Decode(hash hash.Hash, r io.Reader, size int64) (n int,... method Encode (line 94) | func (b *Blob) Encode(to io.Writer) (n int, err error) { method Close (line 102) | func (b *Blob) Close() error { method Equal (line 112) | func (b *Blob) Equal(other *Blob) bool { function NewBlobFromBytes (line 26) | func NewBlobFromBytes(contents []byte) *Blob { function NewBlobFromFile (line 42) | func NewBlobFromFile(path string) (*Blob, error) { FILE: modules/git/gitobj/blob_test.go function TestBlobReturnsCorrectObjectType (line 13) | func TestBlobReturnsCorrectObjectType(t *testing.T) { function TestBlobFromString (line 19) | func TestBlobFromString(t *testing.T) { function TestBlobEncoding (line 38) | func TestBlobEncoding(t *testing.T) { function TestBlobDecoding (line 55) | func TestBlobDecoding(t *testing.T) { function TestBlobCallCloseFn (line 82) | func TestBlobCallCloseFn(t *testing.T) { function TestBlobCanCloseWithoutCloseFn (line 104) | func TestBlobCanCloseWithoutCloseFn(t *testing.T) { function TestBlobEqualReturnsTrueWithUnchangedContents (line 114) | func TestBlobEqualReturnsTrueWithUnchangedContents(t *testing.T) { function TestBlobEqualReturnsFalseWithChangedContents (line 125) | func TestBlobEqualReturnsFalseWithChangedContents(t *testing.T) { function TestBlobEqualReturnsTrueWhenOneBlobIsNil (line 137) | func TestBlobEqualReturnsTrueWhenOneBlobIsNil(t *testing.T) { function TestBlobEqualReturnsTrueWhenBothBlobsAreNil (line 149) | func TestBlobEqualReturnsTrueWhenBothBlobsAreNil(t *testing.T) { FILE: modules/git/gitobj/commit.go type Signature (line 20) | type Signature struct method String (line 38) | func (s *Signature) String() string { constant formatTimeZoneOnly (line 31) | formatTimeZoneOnly = "-0700" type ExtraHeader (line 49) | type ExtraHeader struct type Commit (line 59) | type Commit struct method Type (line 87) | func (c *Commit) Type() ObjectType { return CommitObjectType } method Decode (line 95) | func (c *Commit) Decode(hash hash.Hash, from io.Reader, size int64) (n... method Encode (line 179) | func (c *Commit) Encode(to io.Writer) (n int, err error) { method Equal (line 226) | func (c *Commit) Equal(other *Commit) bool { method Subject (line 264) | func (c *Commit) Subject() string { FILE: modules/git/gitobj/commit_test.go function TestCommitReturnsCorrectObjectType (line 15) | func TestCommitReturnsCorrectObjectType(t *testing.T) { function TestCommitEncoding (line 21) | func TestCommitEncoding(t *testing.T) { function TestCommitDecoding (line 65) | func TestCommitDecoding(t *testing.T) { function TestCommitDecodingWithEmptyName (line 123) | func TestCommitDecodingWithEmptyName(t *testing.T) { function TestCommitDecodingWithLargeCommitMessage (line 159) | func TestCommitDecodingWithLargeCommitMessage(t *testing.T) { function TestCommitDecodingWithMessageKeywordPrefix (line 200) | func TestCommitDecodingWithMessageKeywordPrefix(t *testing.T) { function TestCommitDecodingWithWhitespace (line 239) | func TestCommitDecodingWithWhitespace(t *testing.T) { function TestCommitDecodingMultilineHeader (line 278) | func TestCommitDecodingMultilineHeader(t *testing.T) { function equalStringSlices (line 325) | func equalStringSlices(a, b []string) bool { function TestCommitDecodingBadMessageWithLineStartingWithTree (line 337) | func TestCommitDecodingBadMessageWithLineStartingWithTree(t *testing.T) { function equalExtraHeaders (line 405) | func equalExtraHeaders(a, b []*ExtraHeader) bool { function TestCommitDecodingMessageWithLineStartingWithTree (line 417) | func TestCommitDecodingMessageWithLineStartingWithTree(t *testing.T) { function assertLine (line 487) | func assertLine(t *testing.T, buf *bytes.Buffer, wanted string, args ...... function TestCommitEqualReturnsTrueWithIdenticalCommits (line 501) | func TestCommitEqualReturnsTrueWithIdenticalCommits(t *testing.T) { function TestCommitEqualReturnsFalseWithDifferentParentCounts (line 528) | func TestCommitEqualReturnsFalseWithDifferentParentCounts(t *testing.T) { function TestCommitEqualReturnsFalseWithDifferentParentsIds (line 541) | func TestCommitEqualReturnsFalseWithDifferentParentsIds(t *testing.T) { function TestCommitEqualReturnsFalseWithDifferentHeaderCounts (line 556) | func TestCommitEqualReturnsFalseWithDifferentHeaderCounts(t *testing.T) { function TestCommitEqualReturnsFalseWithDifferentHeaders (line 574) | func TestCommitEqualReturnsFalseWithDifferentHeaders(t *testing.T) { function TestCommitEqualReturnsFalseWithDifferentAuthors (line 591) | func TestCommitEqualReturnsFalseWithDifferentAuthors(t *testing.T) { function TestCommitEqualReturnsFalseWithDifferentCommitters (line 604) | func TestCommitEqualReturnsFalseWithDifferentCommitters(t *testing.T) { function TestCommitEqualReturnsFalseWithDifferentMessages (line 617) | func TestCommitEqualReturnsFalseWithDifferentMessages(t *testing.T) { function TestCommitEqualReturnsFalseWithDifferentTreeIDs (line 630) | func TestCommitEqualReturnsFalseWithDifferentTreeIDs(t *testing.T) { function TestCommitEqualReturnsFalseWhenOneCommitIsNil (line 645) | func TestCommitEqualReturnsFalseWhenOneCommitIsNil(t *testing.T) { function TestCommitEqualReturnsTrueWhenBothCommitsAreNil (line 663) | func TestCommitEqualReturnsTrueWhenBothCommitsAreNil(t *testing.T) { function TestBadCommit (line 672) | func TestBadCommit(t *testing.T) { function TestBad2Commit (line 689) | func TestBad2Commit(t *testing.T) { function TestCommitDecodeWithLeadingWhitespaceWithoutPreviousHeader (line 710) | func TestCommitDecodeWithLeadingWhitespaceWithoutPreviousHeader(t *testi... function TestCommitDecodePanicOnContinuationWithoutPreviousHeader (line 731) | func TestCommitDecodePanicOnContinuationWithoutPreviousHeader(t *testing... function TestSplitBehavior (line 750) | func TestSplitBehavior(t *testing.T) { function TestCommitDecodePanicOnEmptyFields (line 779) | func TestCommitDecodePanicOnEmptyFields(t *testing.T) { function TestCommitDecodePanicWithMalformedInput (line 817) | func TestCommitDecodePanicWithMalformedInput(t *testing.T) { function TestCommitDecodeWithEmptyAuthor (line 881) | func TestCommitDecodeWithEmptyAuthor(t *testing.T) { function TestCommitDecodeWithEmptyCommitter (line 901) | func TestCommitDecodeWithEmptyCommitter(t *testing.T) { function TestCommitDecodeWithMultipleParents (line 921) | func TestCommitDecodeWithMultipleParents(t *testing.T) { function TestCommitDecodeWithSpecialCharacters (line 950) | func TestCommitDecodeWithSpecialCharacters(t *testing.T) { function TestCommitDecodeWithExtraHeaderBeforeStandard (line 984) | func TestCommitDecodeWithExtraHeaderBeforeStandard(t *testing.T) { function TestCommitDecodeMultilineExtraHeaders (line 1009) | func TestCommitDecodeMultilineExtraHeaders(t *testing.T) { function TestCommitDecodeMultipleExtraHeaders (line 1056) | func TestCommitDecodeMultipleExtraHeaders(t *testing.T) { function TestCommitDecodeWithStringsCut (line 1122) | func TestCommitDecodeWithStringsCut(t *testing.T) { FILE: modules/git/gitobj/errors.go type UnexpectedObjectType (line 8) | type UnexpectedObjectType struct method Error (line 16) | func (e *UnexpectedObjectType) Error() string { FILE: modules/git/gitobj/errors/errors.go type noSuchObject (line 10) | type noSuchObject struct method Error (line 15) | func (e *noSuchObject) Error() string { function NoSuchObject (line 21) | func NoSuchObject(oid []byte) error { function IsNoSuchObject (line 26) | func IsNoSuchObject(err error) bool { FILE: modules/git/gitobj/errors/errors_test.go function TestNoSuchObjectTypeErrFormatting (line 8) | func TestNoSuchObjectTypeErrFormatting(t *testing.T) { function TestIsNoSuchObjectNilHandling (line 25) | func TestIsNoSuchObjectNilHandling(t *testing.T) { FILE: modules/git/gitobj/errors_test.go function TestUnexpectedObjectTypeErrFormatting (line 7) | func TestUnexpectedObjectTypeErrFormatting(t *testing.T) { FILE: modules/git/gitobj/file_storer.go type fileStorer (line 16) | type fileStorer struct method Open (line 38) | func (fs *fileStorer) Open(sha []byte) (f io.ReadCloser, err error) { method Store (line 51) | func (fs *fileStorer) Store(sha []byte, r io.Reader) (n int64, err err... method Root (line 107) | func (fs *fileStorer) Root() string { method Close (line 112) | func (fs *fileStorer) Close() error { method IsCompressed (line 117) | func (fs *fileStorer) IsCompressed() bool { method open (line 122) | func (fs *fileStorer) open(path string, flag int) (*os.File, error) { method path (line 127) | func (fs *fileStorer) path(sha []byte) string { function newFileStorer (line 25) | func newFileStorer(root, tmp string) *fileStorer { FILE: modules/git/gitobj/memory_storer.go type memoryStorer (line 14) | type memoryStorer struct method Store (line 42) | func (ms *memoryStorer) Store(sha []byte, r io.Reader) (n int64, err e... method Open (line 55) | func (ms *memoryStorer) Open(sha []byte) (f io.ReadCloser, err error) { method Close (line 67) | func (ms *memoryStorer) Close() error { method IsCompressed (line 72) | func (ms *memoryStorer) IsCompressed() bool { function newMemoryStorer (line 27) | func newMemoryStorer(m map[string]io.ReadWriter) *memoryStorer { type bufCloser (line 79) | type bufCloser struct method Close (line 84) | func (b *bufCloser) Close() error { return nil } FILE: modules/git/gitobj/memory_storer_test.go function TestMemoryStorerIncludesGivenEntries (line 13) | func TestMemoryStorerIncludesGivenEntries(t *testing.T) { function TestMemoryStorerAcceptsNilEntries (line 39) | func TestMemoryStorerAcceptsNilEntries(t *testing.T) { function TestMemoryStorerDoesntOpenMissingEntries (line 50) | func TestMemoryStorerDoesntOpenMissingEntries(t *testing.T) { function TestMemoryStorerStoresNewEntries (line 69) | func TestMemoryStorerStoresNewEntries(t *testing.T) { function TestMemoryStorerStoresExistingEntries (line 103) | func TestMemoryStorerStoresExistingEntries(t *testing.T) { FILE: modules/git/gitobj/object.go type Object (line 10) | type Object interface FILE: modules/git/gitobj/object_db.go type Database (line 19) | type Database struct method Close (line 116) | func (d *Database) Close() error { method Object (line 135) | func (d *Database) Object(sha []byte) (Object, error) { method Blob (line 164) | func (d *Database) Blob(sha []byte) (*Blob, error) { method Tree (line 175) | func (d *Database) Tree(sha []byte) (*Tree, error) { method Commit (line 185) | func (o *Database) Commit(sha []byte) (*Commit, error) { method Tag (line 196) | func (d *Database) Tag(sha []byte) (*Tag, error) { method WriteBlob (line 207) | func (d *Database) WriteBlob(b *Blob) ([]byte, error) { method WriteTree (line 240) | func (o *Database) WriteTree(t *Tree) ([]byte, error) { method WriteCommit (line 250) | func (o *Database) WriteCommit(c *Commit) ([]byte, error) { method WriteTag (line 260) | func (o *Database) WriteTag(t *Tag) ([]byte, error) { method Root (line 273) | func (o *Database) Root() (string, bool) { method Hasher (line 285) | func (o *Database) Hasher() hash.Hash { method encode (line 291) | func (d *Database) encode(object Object) (sha []byte, n int64, err err... method encodeBuffer (line 297) | func (d *Database) encodeBuffer(object Object, buf io.ReadWriter) (sha... method save (line 336) | func (o *Database) save(sha []byte, buf io.Reader) ([]byte, int64, err... method open (line 344) | func (o *Database) open(sha []byte) (*ObjectReader, error) { method openDecode (line 361) | func (o *Database) openDecode(sha []byte, into Object) error { method decode (line 377) | func (o *Database) decode(r *ObjectReader, into Object) error { method cleanup (line 395) | func (o *Database) cleanup(f *os.File) { type options (line 40) | type options struct type Option (line 45) | type Option type ObjectFormatAlgorithm (line 47) | type ObjectFormatAlgorithm constant ObjectFormatSHA1 (line 50) | ObjectFormatSHA1 = ObjectFormatAlgorithm("sha1") constant ObjectFormatSHA256 (line 51) | ObjectFormatSHA256 = ObjectFormatAlgorithm("sha256") function Alternates (line 57) | func Alternates(alternates string) Option { function ObjectFormat (line 65) | func ObjectFormat(algo ObjectFormatAlgorithm) Option { function NewDatabase (line 75) | func NewDatabase(root, tmp string, setters ...Option) (*Database, error) { function FromBackend (line 95) | func FromBackend(b storage.Backend, setters ...Option) (*Database, error) { function hasher (line 400) | func hasher(algo ObjectFormatAlgorithm) hash.Hash { FILE: modules/git/gitobj/object_db_test.go constant roundTripCommitSha (line 15) | roundTripCommitSha string = `561ed224a6bd39232d902ad8023c0ebe44fbf6c5` constant roundTripCommit (line 16) | roundTripCommit string = `tree f2ebdf9c967f69d57b370901f9344596ec47e51c function TestDecodeObject (line 53) | func TestDecodeObject(t *testing.T) { function TestDecodeBlob (line 108) | func TestDecodeBlob(t *testing.T) { function TestDecodeTree (line 162) | func TestDecodeTree(t *testing.T) { function TestDecodeCommit (line 235) | func TestDecodeCommit(t *testing.T) { function TestWriteBlob (line 307) | func TestWriteBlob(t *testing.T) { function TestWriteTree (line 351) | func TestWriteTree(t *testing.T) { function TestWriteCommit (line 408) | func TestWriteCommit(t *testing.T) { function TestWriteCommitWithGPGSignature (line 468) | func TestWriteCommitWithGPGSignature(t *testing.T) { function TestDecodeTag (line 503) | func TestDecodeTag(t *testing.T) { function TestWriteTag (line 554) | func TestWriteTag(t *testing.T) { function TestReadingAMissingObjectAfterClose (line 607) | func TestReadingAMissingObjectAfterClose(t *testing.T) { function TestClosingAnDatabaseMoreThanOnce (line 635) | func TestClosingAnDatabaseMoreThanOnce(t *testing.T) { function TestDatabaseRootWithRoot (line 649) | func TestDatabaseRootWithRoot(t *testing.T) { function TestDatabaseRootWithoutRoot (line 664) | func TestDatabaseRootWithoutRoot(t *testing.T) { FILE: modules/git/gitobj/object_reader.go type ObjectReader (line 15) | type ObjectReader struct method Header (line 97) | func (r *ObjectReader) Header() (typ ObjectType, size int64, err error) { method Read (line 139) | func (r *ObjectReader) Read(p []byte) (n int, err error) { method Close (line 150) | func (r *ObjectReader) Close() error { function NewObjectReader (line 42) | func NewObjectReader(r io.Reader) (*ObjectReader, error) { function NewUncompressedObjectReader (line 49) | func NewUncompressedObjectReader(r io.Reader) (*ObjectReader, error) { function NewObjectReadCloser (line 59) | func NewObjectReadCloser(r io.ReadCloser) (*ObjectReader, error) { function NewUncompressedObjectReadCloser (line 85) | func NewUncompressedObjectReadCloser(r io.ReadCloser) (*ObjectReader, er... FILE: modules/git/gitobj/object_reader_test.go function TestObjectReaderReadsHeaders (line 12) | func TestObjectReaderReadsHeaders(t *testing.T) { function TestObjectReaderConsumesHeaderBeforeReads (line 37) | func TestObjectReaderConsumesHeaderBeforeReads(t *testing.T) { type ReadCloserFn (line 63) | type ReadCloserFn struct method Close (line 68) | func (r *ReadCloserFn) Close() error { function TestObjectReaderCallsClose (line 72) | func TestObjectReaderCallsClose(t *testing.T) { FILE: modules/git/gitobj/object_type.go type ObjectType (line 7) | type ObjectType method String (line 36) | func (t ObjectType) String() string { constant UnknownObjectType (line 10) | UnknownObjectType ObjectType = iota constant BlobObjectType (line 11) | BlobObjectType constant TreeObjectType (line 12) | TreeObjectType constant CommitObjectType (line 13) | CommitObjectType constant TagObjectType (line 14) | TagObjectType function ObjectTypeFromString (line 19) | func ObjectTypeFromString(s string) ObjectType { FILE: modules/git/gitobj/object_type_test.go function TestObjectTypeFromString (line 8) | func TestObjectTypeFromString(t *testing.T) { function TestObjectTypeToString (line 24) | func TestObjectTypeToString(t *testing.T) { FILE: modules/git/gitobj/object_writer.go type ObjectWriter (line 15) | type ObjectWriter struct method WriteHeader (line 88) | func (w *ObjectWriter) WriteHeader(typ ObjectType, length int64) (n in... method Write (line 101) | func (w *ObjectWriter) Write(p []byte) (n int, err error) { method Sha (line 109) | func (w *ObjectWriter) Sha() []byte { method Close (line 119) | func (w *ObjectWriter) Close() error { type nopCloser (line 41) | type nopCloser struct method Close (line 48) | func (n *nopCloser) Close() error { function NewObjectWriter (line 55) | func NewObjectWriter(w io.Writer, hash hash.Hash) *ObjectWriter { function NewObjectWriteCloser (line 64) | func NewObjectWriteCloser(w io.WriteCloser, sum hash.Hash) *ObjectWriter { FILE: modules/git/gitobj/object_writer_test.go function TestObjectWriterWritesHeaders (line 16) | func TestObjectWriterWritesHeaders(t *testing.T) { function TestObjectWriterWritesData (line 51) | func TestObjectWriterWritesData(t *testing.T) { function TestObjectWriterKeepsTrackOfHash (line 104) | func TestObjectWriterKeepsTrackOfHash(t *testing.T) { type WriteCloserFn (line 134) | type WriteCloserFn struct method Close (line 139) | func (r *WriteCloserFn) Close() error { return r.closeFn() } function TestObjectWriterCallsClose (line 141) | func TestObjectWriterCallsClose(t *testing.T) { FILE: modules/git/gitobj/pack/bounds.go type bounds (line 13) | type bounds struct method Left (line 30) | func (b *bounds) Left() int64 { method Right (line 35) | func (b *bounds) Right() int64 { method WithLeft (line 41) | func (b *bounds) WithLeft(v int64) *bounds { method WithRight (line 50) | func (b *bounds) WithRight(v int64) *bounds { method Equal (line 67) | func (b *bounds) Equal(other *bounds) bool { method String (line 83) | func (b *bounds) String() string { function newBounds (line 22) | func newBounds(left, right int64) *bounds { FILE: modules/git/gitobj/pack/bounds_test.go function TestBoundsLeft (line 7) | func TestBoundsLeft(t *testing.T) { function TestBoundsRight (line 13) | func TestBoundsRight(t *testing.T) { function TestBoundsWithLeftReturnsNewBounds (line 19) | func TestBoundsWithLeftReturnsNewBounds(t *testing.T) { function TestBoundsWithRightReturnsNewBounds (line 38) | func TestBoundsWithRightReturnsNewBounds(t *testing.T) { function TestBoundsEqualWithIdenticalBounds (line 57) | func TestBoundsEqualWithIdenticalBounds(t *testing.T) { function TestBoundsEqualWithDifferentBounds (line 66) | func TestBoundsEqualWithDifferentBounds(t *testing.T) { function TestBoundsEqualWithNilReceiver (line 75) | func TestBoundsEqualWithNilReceiver(t *testing.T) { function TestBoundsEqualWithNilArgument (line 84) | func TestBoundsEqualWithNilArgument(t *testing.T) { function TestBoundsEqualWithNilArgumentAndReceiver (line 93) | func TestBoundsEqualWithNilArgumentAndReceiver(t *testing.T) { function TestBoundsString (line 102) | func TestBoundsString(t *testing.T) { FILE: modules/git/gitobj/pack/chain.go type Chain (line 5) | type Chain interface FILE: modules/git/gitobj/pack/chain_base.go type ChainBase (line 9) | type ChainBase struct method Unpack (line 27) | func (b *ChainBase) Unpack() ([]byte, error) { method Type (line 47) | func (b *ChainBase) Type() PackedObjectType { FILE: modules/git/gitobj/pack/chain_base_test.go function TestChainBaseDecompressesData (line 9) | func TestChainBaseDecompressesData(t *testing.T) { function TestChainBaseTypeReturnsType (line 50) | func TestChainBaseTypeReturnsType(t *testing.T) { function compress (line 60) | func compress(base string) ([]byte, error) { FILE: modules/git/gitobj/pack/chain_delta.go type ChainDelta (line 9) | type ChainDelta struct method Unpack (line 24) | func (d *ChainDelta) Unpack() ([]byte, error) { method Type (line 34) | func (d *ChainDelta) Type() PackedObjectType { function patch (line 45) | func patch(base, delta []byte) ([]byte, error) { function patchDeltaHeader (line 159) | func patchDeltaHeader(delta []byte, pos int) (size int64, end int) { FILE: modules/git/gitobj/pack/chain_delta_test.go function TestChainDeltaUnpackCopiesFromBase (line 8) | func TestChainDeltaUnpackCopiesFromBase(t *testing.T) { function TestChainDeltaUnpackAddsToBase (line 33) | func TestChainDeltaUnpackAddsToBase(t *testing.T) { function TestChainDeltaWithMultipleInstructions (line 58) | func TestChainDeltaWithMultipleInstructions(t *testing.T) { function TestChainDeltaWithInvalidDeltaInstruction (line 90) | func TestChainDeltaWithInvalidDeltaInstruction(t *testing.T) { function TestChainDeltaWithExtraInstructions (line 112) | func TestChainDeltaWithExtraInstructions(t *testing.T) { FILE: modules/git/gitobj/pack/chain_test.go type ChainSimple (line 3) | type ChainSimple struct method Unpack (line 8) | func (c *ChainSimple) Unpack() ([]byte, error) { method Type (line 12) | func (c *ChainSimple) Type() PackedObjectType { return TypeNone } FILE: modules/git/gitobj/pack/delayed_object.go type delayedObjectReader (line 13) | type delayedObjectReader struct method makeReader (line 19) | func (d *delayedObjectReader) makeReader() (err error) { method Read (line 60) | func (d *delayedObjectReader) Read(b []byte) (int, error) { method Close (line 70) | func (d *delayedObjectReader) Close() error { FILE: modules/git/gitobj/pack/errors.go type UnsupportedVersionErr (line 7) | type UnsupportedVersionErr struct method Error (line 13) | func (u *UnsupportedVersionErr) Error() string { FILE: modules/git/gitobj/pack/errors_test.go function TestUnsupportedVersionErr (line 7) | func TestUnsupportedVersionErr(t *testing.T) { FILE: modules/git/gitobj/pack/index.go constant MaxHashSize (line 10) | MaxHashSize = sha256.Size type Index (line 14) | type Index struct method Count (line 32) | func (i *Index) Count() int { method Close (line 38) | func (i *Index) Close() error { method Entry (line 67) | func (i *Index) Entry(name []byte) (*IndexEntry, error) { method readAt (line 115) | func (i *Index) readAt(p []byte, at int64) (n int, err error) { method bounds (line 121) | func (i *Index) bounds(name []byte) *bounds { function IsNotFound (line 53) | func IsNotFound(err error) bool { FILE: modules/git/gitobj/pack/index_decode.go constant indexMagicWidth (line 14) | indexMagicWidth = 4 constant indexVersionWidth (line 17) | indexVersionWidth = 4 constant indexV2Width (line 19) | indexV2Width = indexMagicWidth + indexVersionWidth constant indexV1Width (line 21) | indexV1Width = 0 constant indexFanoutEntries (line 24) | indexFanoutEntries = 256 constant indexFanoutEntryWidth (line 26) | indexFanoutEntryWidth = 4 constant indexFanoutWidth (line 28) | indexFanoutWidth = indexFanoutEntries * indexFanoutEntryWidth constant indexOffsetV1Start (line 32) | indexOffsetV1Start = indexV1Width + indexFanoutWidth constant indexOffsetV2Start (line 35) | indexOffsetV2Start = indexV2Width + indexFanoutWidth constant indexObjectCRCWidth (line 39) | indexObjectCRCWidth = 4 constant indexObjectSmallOffsetWidth (line 42) | indexObjectSmallOffsetWidth = 4 constant indexObjectLargeOffsetWidth (line 45) | indexObjectLargeOffsetWidth = 8 function DecodeIndex (line 64) | func DecodeIndex(r io.ReaderAt, hash hash.Hash) (*Index, error) { function decodeIndexHeader (line 84) | func decodeIndexHeader(r io.ReaderAt, hash hash.Hash) (IndexVersion, err... function decodeIndexFanout (line 110) | func decodeIndexFanout(r io.ReaderAt, offset int64) ([]uint32, error) { FILE: modules/git/gitobj/pack/index_decode_test.go function TestDecodeIndexV2 (line 12) | func TestDecodeIndexV2(t *testing.T) { function TestDecodeIndexV2InvalidFanout (line 34) | func TestDecodeIndexV2InvalidFanout(t *testing.T) { function TestDecodeIndexV1 (line 50) | func TestDecodeIndexV1(t *testing.T) { function TestDecodeIndexV1InvalidFanout (line 61) | func TestDecodeIndexV1InvalidFanout(t *testing.T) { function TestDecodeIndexUnsupportedVersion (line 72) | func TestDecodeIndexUnsupportedVersion(t *testing.T) { function TestDecodeIndexEmptyContents (line 90) | func TestDecodeIndexEmptyContents(t *testing.T) { FILE: modules/git/gitobj/pack/index_entry.go type IndexEntry (line 4) | type IndexEntry struct FILE: modules/git/gitobj/pack/index_test.go function TestIndexEntrySearch (line 15) | func TestIndexEntrySearch(t *testing.T) { function TestIndexEntrySearchClampLeft (line 29) | func TestIndexEntrySearchClampLeft(t *testing.T) { function TestIndexEntrySearchClampRight (line 43) | func TestIndexEntrySearchClampRight(t *testing.T) { function TestIndexSearchOutOfBounds (line 57) | func TestIndexSearchOutOfBounds(t *testing.T) { function TestIndexEntryNotFound (line 72) | func TestIndexEntryNotFound(t *testing.T) { function TestIndexCount (line 87) | func TestIndexCount(t *testing.T) { function TestIndexIsNotFound (line 100) | func TestIndexIsNotFound(t *testing.T) { function TestIndexIsNotFoundForOtherErrors (line 107) | func TestIndexIsNotFoundForOtherErrors(t *testing.T) { function init (line 116) | func init() { FILE: modules/git/gitobj/pack/index_v1.go type V1 (line 9) | type V1 struct method Name (line 15) | func (v *V1) Name(idx *Index, at int64) ([]byte, error) { method Entry (line 29) | func (v *V1) Entry(idx *Index, at int64) (*IndexEntry, error) { method Width (line 42) | func (v *V1) Width() int64 { function v1ShaOffset (line 47) | func v1ShaOffset(at int64, hashlen int64) int64 { function v1EntryOffset (line 57) | func v1EntryOffset(at int64, hashlen int64) int64 { FILE: modules/git/gitobj/pack/index_v1_test.go function TestIndexV1SearchExact (line 16) | func TestIndexV1SearchExact(t *testing.T) { function TestIndexVersionWidthV1 (line 31) | func TestIndexVersionWidthV1(t *testing.T) { function newV1Index (line 40) | func newV1Index(hash hash.Hash) *Index { FILE: modules/git/gitobj/pack/index_v2.go type V2 (line 9) | type V2 struct method Name (line 15) | func (v *V2) Name(idx *Index, at int64) ([]byte, error) { method Entry (line 29) | func (v *V2) Entry(idx *Index, at int64) (*IndexEntry, error) { method Width (line 59) | func (v *V2) Width() int64 { function v2ShaOffset (line 64) | func v2ShaOffset(at int64, hashlen int64) int64 { function v2SmallOffsetOffset (line 73) | func v2SmallOffsetOffset(at, total, hashlen int64) int64 { function v2LargeOffsetOffset (line 86) | func v2LargeOffsetOffset(at, total, hashlen int64) int64 { FILE: modules/git/gitobj/pack/index_v2_test.go function TestIndexV2EntryExact (line 35) | func TestIndexV2EntryExact(t *testing.T) { function TestIndexV2EntryExtendedOffset (line 50) | func TestIndexV2EntryExtendedOffset(t *testing.T) { function TestIndexVersionWidthV2 (line 65) | func TestIndexVersionWidthV2(t *testing.T) { function newV2Index (line 74) | func newV2Index(hash hash.Hash) *Index { FILE: modules/git/gitobj/pack/index_version.go type IndexVersion (line 3) | type IndexVersion interface FILE: modules/git/gitobj/pack/io.go type OffsetReaderAt (line 7) | type OffsetReaderAt struct method Read (line 22) | func (r *OffsetReaderAt) Read(p []byte) (n int, err error) { FILE: modules/git/gitobj/pack/io_test.go function TestOffsetReaderAtReadsAtOffset (line 9) | func TestOffsetReaderAtReadsAtOffset(t *testing.T) { function TestOffsetReaderPropogatesErrors (line 43) | func TestOffsetReaderPropogatesErrors(t *testing.T) { type ErrReaderAt (line 60) | type ErrReaderAt struct method ReadAt (line 64) | func (e *ErrReaderAt) ReadAt(p []byte, at int64) (n int, err error) { FILE: modules/git/gitobj/pack/object.go type Object (line 5) | type Object struct method Unpack (line 19) | func (o *Object) Unpack() ([]byte, error) { method Type (line 25) | func (o *Object) Type() PackedObjectType { FILE: modules/git/gitobj/pack/object_test.go function TestObjectTypeReturnsObjectType (line 9) | func TestObjectTypeReturnsObjectType(t *testing.T) { function TestObjectUnpackUnpacksData (line 19) | func TestObjectUnpackUnpacksData(t *testing.T) { function TestObjectUnpackPropogatesErrors (line 38) | func TestObjectUnpackPropogatesErrors(t *testing.T) { FILE: modules/git/gitobj/pack/packfile.go type Packfile (line 12) | type Packfile struct method Close (line 30) | func (p *Packfile) Close() error { method Object (line 54) | func (p *Packfile) Object(name []byte) (*Object, error) { method find (line 86) | func (p *Packfile) find(offset int64) (Chain, error) { method findBase (line 184) | func (p *Packfile) findBase(typ PackedObjectType, offset, objOffset in... FILE: modules/git/gitobj/pack/packfile_decode.go function DecodePackfile (line 26) | func DecodePackfile(r io.ReaderAt, hash hash.Hash) (*Packfile, error) { FILE: modules/git/gitobj/pack/packfile_decode_test.go function TestDecodePackfileDecodesIntegerVersion (line 11) | func TestDecodePackfileDecodesIntegerVersion(t *testing.T) { function TestDecodePackfileDecodesIntegerCount (line 26) | func TestDecodePackfileDecodesIntegerCount(t *testing.T) { function TestDecodePackfileReportsBadHeaders (line 41) | func TestDecodePackfileReportsBadHeaders(t *testing.T) { FILE: modules/git/gitobj/pack/packfile_test.go function TestPackObjectReturnsObjectWithSingleBaseAtLowOffset (line 15) | func TestPackObjectReturnsObjectWithSingleBaseAtLowOffset(t *testing.T) { function TestPackObjectReturnsObjectWithSingleBaseAtHighOffset (line 53) | func TestPackObjectReturnsObjectWithSingleBaseAtHighOffset(t *testing.T) { function TestPackObjectReturnsObjectWithDeltaBaseOffset (line 95) | func TestPackObjectReturnsObjectWithDeltaBaseOffset(t *testing.T) { function TestPackfileObjectReturnsObjectWithDeltaBaseReference (line 149) | func TestPackfileObjectReturnsObjectWithDeltaBaseReference(t *testing.T) { function TestPackfileClosesReadClosers (line 210) | func TestPackfileClosesReadClosers(t *testing.T) { function TestPackfileClosePropogatesCloseErrors (line 224) | func TestPackfileClosePropogatesCloseErrors(t *testing.T) { type ReaderAtCloser (line 235) | type ReaderAtCloser struct method ReadAt (line 240) | func (r *ReaderAtCloser) ReadAt(p []byte, at int64) (int, error) { method Close (line 244) | func (r *ReaderAtCloser) Close() error { function IndexWith (line 249) | func IndexWith(offsets map[string]uint32) *Index { function DecodeHex (line 309) | func DecodeHex(t *testing.T, str string) []byte { FILE: modules/git/gitobj/pack/set.go type Set (line 15) | type Set struct method Close (line 157) | func (s *Set) Close() error { method Object (line 178) | func (s *Set) Object(name []byte) (*Object, error) { method each (line 197) | func (s *Set) each(name []byte, fn iterFn) (*Object, error) { function NewSet (line 41) | func NewSet(db string, algo hash.Hash) (*Set, error) { function escapeGlobPattern (line 106) | func escapeGlobPattern(s string) string { function NewSetPacks (line 114) | func NewSetPacks(packs ...*Packfile) *Set { type iterFn (line 185) | type iterFn FILE: modules/git/gitobj/pack/set_test.go function TestSetOpenOpensAPackedObject (line 8) | func TestSetOpenOpensAPackedObject(t *testing.T) { function TestSetOpenOpensPackedObjectsInPackOrder (line 38) | func TestSetOpenOpensPackedObjectsInPackOrder(t *testing.T) { FILE: modules/git/gitobj/pack/storage.go type Storage (line 9) | type Storage struct method Open (line 23) | func (f *Storage) Open(oid []byte) (r io.ReadCloser, err error) { method Close (line 32) | func (f *Storage) Close() error { method IsCompressed (line 37) | func (f *Storage) IsCompressed() bool { function NewStorage (line 14) | func NewStorage(root string, algo hash.Hash) (*Storage, error) { FILE: modules/git/gitobj/pack/type.go type PackedObjectType (line 9) | type PackedObjectType method String (line 34) | func (t PackedObjectType) String() string { constant TypeNone (line 14) | TypeNone PackedObjectType = iota constant TypeCommit (line 16) | TypeCommit constant TypeTree (line 18) | TypeTree constant TypeBlob (line 20) | TypeBlob constant TypeTag (line 22) | TypeTag constant TypeObjectOffsetDelta (line 25) | TypeObjectOffsetDelta PackedObjectType = 6 constant TypeObjectReferenceDelta (line 27) | TypeObjectReferenceDelta PackedObjectType = 7 FILE: modules/git/gitobj/pack/type_test.go type PackedObjectStringTestCase (line 8) | type PackedObjectStringTestCase struct method Assert (line 15) | func (c *PackedObjectStringTestCase) Assert(t *testing.T) { function TestPackedObjectTypeString (line 35) | func TestPackedObjectTypeString(t *testing.T) { FILE: modules/git/gitobj/storage/backend.go type Backend (line 5) | type Backend interface FILE: modules/git/gitobj/storage/decompressing_readcloser.go type decompressingReadCloser (line 10) | type decompressingReadCloser struct method Read (line 25) | func (d *decompressingReadCloser) Read(b []byte) (int, error) { method Close (line 30) | func (d *decompressingReadCloser) Close() error { function newDecompressingReadCloser (line 16) | func newDecompressingReadCloser(r io.ReadCloser) (io.ReadCloser, error) { FILE: modules/git/gitobj/storage/multi_storage.go type multiStorage (line 12) | type multiStorage struct method Open (line 22) | func (m *multiStorage) Open(oid []byte) (f io.ReadCloser, err error) { method Close (line 41) | func (m *multiStorage) Close() error { method IsCompressed (line 53) | func (m *multiStorage) IsCompressed() bool { function MultiStorage (line 16) | func MultiStorage(args ...Storage) Storage { FILE: modules/git/gitobj/storage/storage.go type Storage (line 7) | type Storage interface type WritableStorage (line 23) | type WritableStorage interface FILE: modules/git/gitobj/storer.go type Storer (line 7) | type Storer interface FILE: modules/git/gitobj/tag.go type Tag (line 13) | type Tag struct method Extract (line 24) | func (t *Tag) Extract() (message string, signature string) { method StrictMessage (line 31) | func (t *Tag) StrictMessage() string { method Decode (line 42) | func (t *Tag) Decode(hash hash.Hash, r io.Reader, size int64) (int, er... method Encode (line 103) | func (t *Tag) Encode(w io.Writer) (int, error) { method Equal (line 117) | func (t *Tag) Equal(other *Tag) bool { method Type (line 135) | func (t *Tag) Type() ObjectType { FILE: modules/git/gitobj/tag_test.go function TestTagTypeReturnsCorrectObjectType (line 10) | func TestTagTypeReturnsCorrectObjectType(t *testing.T) { function TestTagEncode (line 16) | func TestTagEncode(t *testing.T) { function TestTagDecode (line 49) | func TestTagDecode(t *testing.T) { FILE: modules/git/gitobj/tree.go constant sIFMT (line 20) | sIFMT = int32(0170000) constant sIFREG (line 21) | sIFREG = int32(0100000) constant sIFDIR (line 22) | sIFDIR = int32(0040000) constant sIFLNK (line 23) | sIFLNK = int32(0120000) constant sIFGITLINK (line 24) | sIFGITLINK = int32(0160000) type Tree (line 28) | type Tree struct method Type (line 35) | func (t *Tree) Type() ObjectType { return TreeObjectType } method Decode (line 43) | func (t *Tree) Decode(hash hash.Hash, from io.Reader, size int64) (n i... method Encode (line 90) | func (t *Tree) Encode(to io.Writer) (n int, err error) { method Merge (line 115) | func (t *Tree) Merge(others ...*TreeEntry) *Tree { method Equal (line 166) | func (t *Tree) Equal(other *Tree) bool { type TreeEntry (line 190) | type TreeEntry struct method Equal (line 202) | func (e *TreeEntry) Equal(other *TreeEntry) bool { method Type (line 217) | func (e *TreeEntry) Type() ObjectType { method IsLink (line 236) | func (e *TreeEntry) IsLink() bool { type SubtreeOrder (line 250) | type SubtreeOrder method Len (line 254) | func (s SubtreeOrder) Len() int { return len(s) } method Swap (line 257) | func (s SubtreeOrder) Swap(i, j int) { s[i], s[j] = s[j], s[i] } method Less (line 265) | func (s SubtreeOrder) Less(i, j int) bool { method Name (line 275) | func (s SubtreeOrder) Name(i int) string { FILE: modules/git/gitobj/tree_test.go function TestTreeReturnsCorrectObjectType (line 13) | func TestTreeReturnsCorrectObjectType(t *testing.T) { function TestTreeEncoding (line 19) | func TestTreeEncoding(t *testing.T) { function TestTreeDecoding (line 59) | func TestTreeDecoding(t *testing.T) { function TestTreeDecodingShaBoundary (line 131) | func TestTreeDecodingShaBoundary(t *testing.T) { function TestTreeMergeReplaceElements (line 165) | func TestTreeMergeReplaceElements(t *testing.T) { function TestMergeInsertElementsInSubtreeOrder (line 204) | func TestMergeInsertElementsInSubtreeOrder(t *testing.T) { type TreeEntryTypeTestCase (line 243) | type TreeEntryTypeTestCase struct method AssertType (line 249) | func (c *TreeEntryTypeTestCase) AssertType(t *testing.T) { method AssertIsLink (line 259) | func (c *TreeEntryTypeTestCase) AssertIsLink(t *testing.T) { function TestTreeEntryTypeResolution (line 269) | func TestTreeEntryTypeResolution(t *testing.T) { function TestSubtreeOrder (line 281) | func TestSubtreeOrder(t *testing.T) { function TestSubtreeOrderReturnsEmptyForOutOfBounds (line 321) | func TestSubtreeOrderReturnsEmptyForOutOfBounds(t *testing.T) { function TestSubtreeOrderReturnsEmptyForNilElements (line 330) | func TestSubtreeOrderReturnsEmptyForNilElements(t *testing.T) { function TestTreeEqualReturnsTrueWithUnchangedContents (line 338) | func TestTreeEqualReturnsTrueWithUnchangedContents(t *testing.T) { function TestTreeEqualReturnsFalseWithChangedContents (line 351) | func TestTreeEqualReturnsFalseWithChangedContents(t *testing.T) { function TestTreeEqualReturnsTrueWhenOneTreeIsNil (line 366) | func TestTreeEqualReturnsTrueWhenOneTreeIsNil(t *testing.T) { function TestTreeEqualReturnsTrueWhenBothTreesAreNil (line 380) | func TestTreeEqualReturnsTrueWhenBothTreesAreNil(t *testing.T) { function TestTreeEntryEqualReturnsTrueWhenEntriesAreTheSame (line 389) | func TestTreeEntryEqualReturnsTrueWhenEntriesAreTheSame(t *testing.T) { function TestTreeEntryEqualReturnsFalseWhenDifferentNames (line 398) | func TestTreeEntryEqualReturnsFalseWhenDifferentNames(t *testing.T) { function TestTreeEntryEqualReturnsFalseWhenDifferentOids (line 407) | func TestTreeEntryEqualReturnsFalseWhenDifferentOids(t *testing.T) { function TestTreeEntryEqualReturnsFalseWhenDifferentFilemodes (line 418) | func TestTreeEntryEqualReturnsFalseWhenDifferentFilemodes(t *testing.T) { function TestTreeEntryEqualReturnsFalseWhenOneEntryIsNil (line 427) | func TestTreeEntryEqualReturnsFalseWhenOneEntryIsNil(t *testing.T) { function TestTreeEntryEqualReturnsTrueWhenBothEntriesAreNil (line 436) | func TestTreeEntryEqualReturnsTrueWhenBothEntriesAreNil(t *testing.T) { function assertTreeEntry (line 445) | func assertTreeEntry(t *testing.T, buf *bytes.Buffer, FILE: modules/git/hash.go function RevParseHEAD (line 38) | func RevParseHEAD(ctx context.Context, environ []string, repoPath string... function ParseReference (line 50) | func ParseReference(ctx context.Context, repoPath string, symref string)... function startsWithHashablePrefix (line 70) | func startsWithHashablePrefix(line []byte) bool { function HashFromEnv (line 84) | func HashFromEnv(ctx context.Context, environ []string, repoPath string)... function Hash (line 127) | func Hash(ctx context.Context, repoPath string) (string, error) { type HashResult (line 131) | type HashResult struct function HashEx (line 138) | func HashEx(ctx context.Context, repoPath string) (*HashResult, error) { FILE: modules/git/hash_test.go function TestHash (line 10) | func TestHash(t *testing.T) { function TestParseReference (line 19) | func TestParseReference(t *testing.T) { FILE: modules/git/object.go type Metadata (line 8) | type Metadata struct type Object (line 17) | type Object struct method Read (line 29) | func (o *Object) Read(p []byte) (int, error) { method WriteTo (line 36) | func (o *Object) WriteTo(w io.Writer) (int64, error) { method Discard (line 41) | func (o *Object) Discard() { FILE: modules/git/odb.go type ODB (line 12) | type ODB struct method Close (line 17) | func (o *ODB) Close() error { function NewODB (line 24) | func NewODB(repoPath string, hashAlgo HashFormat) (*ODB, error) { type ObjectType (line 55) | type ObjectType method String (line 70) | func (t ObjectType) String() string { method Bytes (line 91) | func (t ObjectType) Bytes() []byte { method Valid (line 96) | func (t ObjectType) Valid() bool { method IsDelta (line 102) | func (t ObjectType) IsDelta() bool { constant InvalidObject (line 58) | InvalidObject ObjectType = 0 constant CommitObject (line 59) | CommitObject ObjectType = 1 constant TreeObject (line 60) | TreeObject ObjectType = 2 constant BlobObject (line 61) | BlobObject ObjectType = 3 constant TagObject (line 62) | TagObject ObjectType = 4 constant OFSDeltaObject (line 64) | OFSDeltaObject ObjectType = 6 constant REFDeltaObject (line 65) | REFDeltaObject ObjectType = 7 constant AnyObject (line 67) | AnyObject ObjectType = -127 function ParseObjectType (line 108) | func ParseObjectType(value string) (typ ObjectType, err error) { FILE: modules/git/reference.go constant refPrefix (line 16) | refPrefix = "refs/" constant refHeadPrefix (line 17) | refHeadPrefix = refPrefix + "heads/" constant refTagPrefix (line 18) | refTagPrefix = refPrefix + "tags/" constant refRemotePrefix (line 19) | refRemotePrefix = refPrefix + "remotes/" constant refNotePrefix (line 20) | refNotePrefix = refPrefix + "notes/" constant RefRevParseRulesCount (line 24) | RefRevParseRulesCount = 6 type ReferenceType (line 40) | type ReferenceType method String (line 48) | func (r ReferenceType) String() string { constant InvalidReference (line 43) | InvalidReference ReferenceType = 0 constant HashReference (line 44) | HashReference ReferenceType = 1 constant SymbolicReference (line 45) | SymbolicReference ReferenceType = 2 type ReferenceName (line 62) | type ReferenceName method IsBranch (line 95) | func (r ReferenceName) IsBranch() bool { method BranchName (line 99) | func (r ReferenceName) BranchName() string { method IsNote (line 104) | func (r ReferenceName) IsNote() bool { method IsRemote (line 109) | func (r ReferenceName) IsRemote() bool { method IsTag (line 114) | func (r ReferenceName) IsTag() bool { method TagName (line 118) | func (r ReferenceName) TagName() string { method String (line 122) | func (r ReferenceName) String() string { method Short (line 129) | func (r ReferenceName) Short() string { method Branch (line 151) | func (r ReferenceName) Branch() (string, bool) { function NewBranchReferenceName (line 66) | func NewBranchReferenceName(name string) ReferenceName { function NewNoteReferenceName (line 72) | func NewNoteReferenceName(name string) ReferenceName { function NewRemoteReferenceName (line 78) | func NewRemoteReferenceName(remote, name string) ReferenceName { function NewRemoteHEADReferenceName (line 84) | func NewRemoteHEADReferenceName(remote string) ReferenceName { function NewTagReferenceName (line 90) | func NewTagReferenceName(name string) ReferenceName { constant HEAD (line 144) | HEAD ReferenceName = "HEAD" constant Master (line 145) | Master ReferenceName = "refs/heads/master" type Reference (line 159) | type Reference struct function NewReference (line 175) | func NewReference(name ReferenceName, target string) Reference { function NewSymbolicReference (line 184) | func NewSymbolicReference(name ReferenceName, target ReferenceName) Refe... type ErrAlreadyLocked (line 192) | type ErrAlreadyLocked struct method Error (line 197) | func (e *ErrAlreadyLocked) Error() string { function IsErrAlreadyLocked (line 209) | func IsErrAlreadyLocked(err error) bool { function ReferenceTarget (line 214) | func ReferenceTarget(ctx context.Context, repoPath, reference string) (s... function UpdateRef (line 230) | func UpdateRef(ctx context.Context, repoPath string, reference string, o... type ErrReferenceBadName (line 258) | type ErrReferenceBadName struct method Error (line 262) | func (err ErrReferenceBadName) Error() string { function IsErrReferenceBadName (line 266) | func IsErrReferenceBadName(err error) bool { function checkReferenceNameComponent (line 299) | func checkReferenceNameComponent(refname []byte) int { function ValidateReferenceName (line 356) | func ValidateReferenceName(refname []byte) bool { function ValidateBranchName (line 375) | func ValidateBranchName(branch []byte) bool { function ValidateTagName (line 383) | func ValidateTagName(tag []byte) bool { constant ReferenceLineFormat (line 391) | ReferenceLineFormat = "%(refname)%00%(refname:short)%00%(objectname)%00%... function ParseOneReference (line 394) | func ParseOneReference(referenceLine string) (*Reference, error) { type ReferenceEx (line 406) | type ReferenceEx struct function ReferencePrefixMatch (line 419) | func ReferencePrefixMatch(ctx context.Context, repoPath string, refname ... function HasSpecificReference (line 478) | func HasSpecificReference(ctx context.Context, repoPath string, referenc... type Order (line 502) | type Order constant OrderNone (line 505) | OrderNone Order = iota constant OrderNewest (line 506) | OrderNewest constant OrderOldest (line 507) | OrderOldest function ParseReferences (line 510) | func ParseReferences(ctx context.Context, repoPath string, order Order) ... FILE: modules/git/reftable/reftable.go type version (line 33) | type version method HeaderSize (line 36) | func (v version) HeaderSize() int { method FooterSize (line 50) | func (v version) FooterSize() int { type headerV1 (line 63) | type headerV1 struct type header (line 72) | type header struct function parseHeader (line 80) | func parseHeader(reader io.Reader, hdr *header) error { type footerEnd (line 107) | type footerEnd struct type footer (line 117) | type footer struct function parseFooter (line 124) | func parseFooter(reader io.Reader, f *footer) error { type block (line 146) | type block struct type Table (line 155) | type Table struct method MinUpdateIndex (line 164) | func (t *Table) MinUpdateIndex() uint64 { method MaxUpdateIndex (line 169) | func (t *Table) MaxUpdateIndex() uint64 { method shaFormat (line 174) | func (t *Table) shaFormat() git.HashFormat { method getBlockRange (line 188) | func (t *Table) getBlockRange(offset, size uint) (uint, uint) { method extractBlockLen (line 201) | func (t *Table) extractBlockLen(src []byte, blockStart uint) uint { method getVarInt (line 206) | func (t *Table) getVarInt(src []byte, start uint, blockEnd uint) (uint... method getRefsFromBlock (line 224) | func (t *Table) getRefsFromBlock(src []byte, b *block) ([]git.Referenc... method parseRefBlock (line 307) | func (t *Table) parseRefBlock(src []byte, headerOffset, blockStart, bl... method GetReferences (line 332) | func (t *Table) GetReferences() ([]git.Reference, error) { method PatchUpdateIndexes (line 376) | func (t *Table) PatchUpdateIndexes(minVal, maxVal uint64) (returnedErr... method Close (line 445) | func (t *Table) Close() error { function parseUint24 (line 182) | func parseUint24(data [3]byte) uint { function ParseTable (line 451) | func ParseTable(absolutePath string) (_ *Table, returnedErr error) { function ReadTablesList (line 494) | func ReadTablesList(repoPath string) ([]Name, error) { type Name (line 514) | type Name struct method String (line 524) | func (n Name) String() string { function ParseName (line 539) | func ParseName(reftableName string) (Name, error) { FILE: modules/git/remote.go function MatchesScheme (line 14) | func MatchesScheme(url string) bool { function MatchesScpLike (line 20) | func MatchesScpLike(url string) bool { function IsLocalEndpoint (line 28) | func IsLocalEndpoint(url string) bool { function FindScpLikeComponents (line 34) | func FindScpLikeComponents(url string) (user, host, port, path string) { FILE: modules/git/repo.go function IsBareRepository (line 12) | func IsBareRepository(ctx context.Context, repoPath string) bool { constant differentHashErr (line 22) | differentHashErr = "fatal: attempt to reinitialize repository with d... constant invalidBranchNameErr (line 23) | invalidBranchNameErr = "fatal: invalid initial branch name" function NewRepo (line 31) | func NewRepo(ctx context.Context, repoPath, branch string, bare bool, sh... FILE: modules/git/repo_test.go function TestIsBareRepository (line 11) | func TestIsBareRepository(t *testing.T) { FILE: modules/git/signature.go constant GitTimeLayout (line 18) | GitTimeLayout = "Mon Jan _2 15:04:05 2006 -0700" type Signature (line 22) | type Signature struct method String (line 39) | func (s *Signature) String() string { method Decode (line 47) | func (s *Signature) Decode(b []byte) { method Encode (line 114) | func (s *Signature) Encode(w io.Writer) error { method encodeTimeAndTimeZone (line 124) | func (s *Signature) encodeTimeAndTimeZone(w io.Writer) error { constant formatTimeZoneOnly (line 32) | formatTimeZoneOnly = "-0700" function newSignatureFromCommitLine (line 61) | func newSignatureFromCommitLine(line []byte) (sig *Signature, err error) { function SignatureFromLine (line 130) | func SignatureFromLine(line string) *Signature { FILE: modules/git/stats/commit-graph.go type CommitGraphInfo (line 15) | type CommitGraphInfo struct function CommitGraphInfoForRepository (line 41) | func CommitGraphInfoForRepository(repoPath string) (CommitGraphInfo, err... FILE: modules/git/stats/status.go constant StaleObjectsGracePeriod (line 26) | StaleObjectsGracePeriod = -10 * 24 * time.Hour function PackfilesCount (line 30) | func PackfilesCount(repoPath string) (uint64, error) { function LooseObjects (line 40) | func LooseObjects(repoPath string) (uint64, error) { type Stat (line 50) | type Stat struct function Status (line 63) | func Status(ctx context.Context, repoPath string, refFormat string) (Sta... type ReferencesStat (line 91) | type ReferencesStat struct type ReftableTable (line 106) | type ReftableTable struct function ReferencesStatus (line 118) | func ReferencesStatus(ctx context.Context, repoPath string, refFormat st... type LooseObjectsStat (line 209) | type LooseObjectsStat struct function LooseObjectsStatus (line 229) | func LooseObjectsStatus(repoPath string, cutoffDate time.Time) (LooseObj... function isValidLooseObjectName (line 273) | func isValidLooseObjectName(s string) bool { type PackEntry (line 282) | type PackEntry struct type PackfilesStat (line 288) | type PackfilesStat struct method NoLargePack (line 323) | func (pi PackfilesStat) NoLargePack() bool { constant LargePackThreshold (line 319) | LargePackThreshold uint64 = 2 * 1024 * 1024 * 1024 constant PackSizeTotal (line 320) | PackSizeTotal uint64 = 8 * 1024 * 1024 * 1024 function PackfilesStatus (line 333) | func PackfilesStatus(repoPath string) (PackfilesStat, error) { type packfileMetadata (line 422) | type packfileMetadata struct function classifyPackfiles (line 429) | func classifyPackfiles(entries []fs.DirEntry) map[string]packfileMetadata { function entrySize (line 453) | func entrySize(entry fs.DirEntry) (uint64, error) { function hasPrefixAndSuffix (line 466) | func hasPrefixAndSuffix(s, prefix, suffix string) bool { type BitmapStat (line 471) | type BitmapStat struct function BitmapStatus (line 491) | func BitmapStatus(path string) (BitmapStat, error) { type MultiPackIndexStat (line 529) | type MultiPackIndexStat struct function MultiPackIndexStatus (line 540) | func MultiPackIndexStatus(path string) (MultiPackIndexStat, error) { type LFSObjectsStat (line 584) | type LFSObjectsStat struct function LFSObjectsStatus (line 589) | func LFSObjectsStatus(repoPath string) (LFSObjectsStat, error) { FILE: modules/git/tag.go function JoinTagPrefix (line 13) | func JoinTagPrefix(tag string) string { type Tag (line 20) | type Tag struct method Size (line 36) | func (t *Tag) Size() int64 { method Extract (line 40) | func (t *Tag) Extract() (message string, signature string) { method Message (line 47) | func (t *Tag) Message() string { method ExtractCommitGPGSignature (line 52) | func (t *Tag) ExtractCommitGPGSignature() *CommitGPGSignature { method Decode (line 87) | func (t *Tag) Decode(hash string, reader io.Reader, size int64) error { function FindTag (line 133) | func FindTag(ctx context.Context, repoPath string, name string) (*Refere... FILE: modules/git/tree.go constant sIFMT (line 15) | sIFMT = FileMode(0170000) constant sIFREG (line 16) | sIFREG = FileMode(0100000) constant sIFDIR (line 17) | sIFDIR = FileMode(0040000) constant sIFLNK (line 18) | sIFLNK = FileMode(0120000) constant sIFGITLINK (line 19) | sIFGITLINK = FileMode(0160000) type Tree (line 23) | type Tree struct method Size (line 43) | func (t *Tree) Size() int64 { method Decode (line 53) | func (t *Tree) Decode(hash string, from io.Reader, size int64) (n int,... type TreeEntry (line 33) | type TreeEntry struct method Type (line 99) | func (e *TreeEntry) Type() string { method IsLink (line 116) | func (e *TreeEntry) IsLink() bool { FILE: modules/git/updateref.go type state (line 21) | type state constant stateIdle (line 25) | stateIdle state = "idle" constant stateStarted (line 28) | stateStarted state = "started" constant statePrepared (line 32) | statePrepared state = "prepared" type RefUpdater (line 35) | type RefUpdater struct method expectState (line 91) | func (u *RefUpdater) expectState(expected state) error { method checkState (line 104) | func (u *RefUpdater) checkState(expected state) error { method Start (line 114) | func (u *RefUpdater) Start() error { method Update (line 130) | func (u *RefUpdater) Update(reference ReferenceName, newRev, oldRev st... method UpdateSymbolicReference (line 140) | func (u *RefUpdater) UpdateSymbolicReference(reference, newTarget Refe... method Create (line 151) | func (u *RefUpdater) Create(reference ReferenceName, oid string) error { method Delete (line 159) | func (u *RefUpdater) Delete(reference ReferenceName) error { method Prepare (line 166) | func (u *RefUpdater) Prepare() error { method Commit (line 178) | func (u *RefUpdater) Commit() error { method Close (line 197) | func (u *RefUpdater) Close() error { method teardown (line 201) | func (u *RefUpdater) teardown() { method closeWithError (line 210) | func (u *RefUpdater) closeWithError(closeErr error) error { method write (line 233) | func (u *RefUpdater) write(format string, args ...any) error { method setState (line 241) | func (u *RefUpdater) setState(state string) error { function NewRefUpdater (line 49) | func NewRefUpdater(ctx context.Context, repoPath string, environ []strin... FILE: modules/git/util.go constant Sundries (line 18) | Sundries = "sundries" function RevParseHashFormat (line 21) | func RevParseHashFormat(ctx context.Context, repoPath string) (string, e... function HashFormatResult (line 30) | func HashFormatResult(repoPath string) (HashFormat, error) { function HashFormatOK (line 38) | func HashFormatOK(repoPath string) HashFormat { function ExtensionsFormat (line 46) | func ExtensionsFormat(repoPath string) (HashFormat, string) { function RevParseRepoPath (line 55) | func RevParseRepoPath(ctx context.Context, p string) string { function RevParseWorktree (line 73) | func RevParseWorktree(ctx context.Context, p string) (string, error) { function ValidateBytesRevision (line 96) | func ValidateBytesRevision(revision []byte) error { function ValidateRevision (line 107) | func ValidateRevision(revision string) error { function PareTimeFallback (line 125) | func PareTimeFallback(s string) time.Time { function NewSundriesDir (line 132) | func NewSundriesDir(repoPath string, pattern string) (string, error) { FILE: modules/git/version.go type Version (line 15) | type Version struct method String (line 49) | func (v Version) String() string { method LessThan (line 54) | func (v Version) LessThan(other Version) bool { method Equal (line 83) | func (v Version) Equal(other Version) bool { method GreaterOrEqual (line 88) | func (v Version) GreaterOrEqual(other Version) bool { function NewVersion (line 22) | func NewVersion(major, minor, patch uint32) Version { function ParseVersionOutput (line 33) | func ParseVersionOutput(versionOutput []byte) (Version, error) { function ParseVersion (line 93) | func ParseVersion(versionStr string) (Version, error) { function gitVersionDetect (line 135) | func gitVersionDetect() (Version, error) { function IsGitVersionAtLeast (line 150) | func IsGitVersionAtLeast(other Version) bool { FILE: modules/git/version_test.go function TestVersion (line 10) | func TestVersion(t *testing.T) { function TestIsGitVersionAtLeast (line 22) | func TestIsGitVersionAtLeast(t *testing.T) { FILE: modules/hexview/format.go constant CN (line 14) | CN byte = 0 constant CS (line 15) | CS byte = 1 constant CP (line 16) | CP byte = 2 constant CC (line 17) | CC byte = 3 constant CH (line 18) | CH byte = 4 type binaryPrinter (line 54) | type binaryPrinter struct method doPrintln (line 85) | func (b *binaryPrinter) doPrintln(a ...string) { method writeBorder (line 91) | func (b *binaryPrinter) writeBorder() error { method writeFooter (line 98) | func (b *binaryPrinter) writeFooter() error { method formatByte (line 105) | func (b *binaryPrinter) formatByte(v byte) { method displayByte (line 110) | func (b *binaryPrinter) displayByte(v byte) { method writeLine (line 115) | func (b *binaryPrinter) writeLine(offset int64, input []byte) error { method flush (line 150) | func (b *binaryPrinter) flush() error { function newBinaryPrinter (line 60) | func newBinaryPrinter(w io.Writer, colorMode term.Level) *binaryPrinter { constant panelSize (line 82) | panelSize = 2*8 + 9 function Format (line 156) | func Format(r io.Reader, w io.Writer, size int64, colorMode term.Level) ... FILE: modules/hexview/format_test.go function TestFormat (line 12) | func TestFormat(t *testing.T) { function TestFormatOverflow (line 21) | func TestFormatOverflow(t *testing.T) { function TestBorder (line 30) | func TestBorder(t *testing.T) { FILE: modules/keyring/keyring.go type Cred (line 27) | type Cred struct type Option (line 43) | type Option type Options (line 46) | type Options struct function WithStorage (line 70) | func WithStorage(storage string) Option { function WithEncryptionKey (line 78) | func WithEncryptionKey(key string) Option { function WithStoragePath (line 86) | func WithStoragePath(path string) Option { function resolveStorageOptions (line 92) | func resolveStorageOptions(opts ...Option) *Options { constant storageAuto (line 104) | storageAuto = "auto" constant storageFile (line 105) | storageFile = "file" constant storageNone (line 106) | storageNone = "none" function NewCredFromURL (line 112) | func NewCredFromURL(targetURL string) *Cred { function buildTargetName (line 147) | func buildTargetName(cred *Cred) string { function parseTargetName (line 170) | func parseTargetName(target string) *Cred { function parseSchemePrefix (line 198) | func parseSchemePrefix(scheme, prefix string) (protocol string, found bo... FILE: modules/keyring/keyring_darwin.go constant kCFStringEncodingUTF8 (line 23) | kCFStringEncodingUTF8 = 0x08000100 constant kCFAllocatorDefault (line 24) | kCFAllocatorDefault = 0 type osStatus (line 27) | type osStatus constant errSecSuccess (line 30) | errSecSuccess osStatus = 0 constant errSecDuplicateItem (line 31) | errSecDuplicateItem osStatus = -25299 constant errSecItemNotFound (line 32) | errSecItemNotFound osStatus = -25300 type _CFRange (line 35) | type _CFRange struct type _CFNumberType (line 40) | type _CFNumberType constant kCFNumberIntType (line 44) | kCFNumberIntType _CFNumberType = 3 function ensureInitialized (line 105) | func ensureInitialized() error { function initializeKeyring (line 113) | func initializeKeyring() error { function Get (line 202) | func Get(ctx context.Context, cred *Cred, opts ...Option) (*Cred, error) { function getFromKeychain (line 232) | func getFromKeychain(ctx context.Context, cred *Cred) (*Cred, error) { function Store (line 333) | func Store(ctx context.Context, cred *Cred, opts ...Option) error { function storeToKeychain (line 378) | func storeToKeychain(ctx context.Context, cred *Cred) error { function Erase (line 478) | func Erase(ctx context.Context, cred *Cred, opts ...Option) error { function eraseFromKeychain (line 508) | func eraseFromKeychain(ctx context.Context, cred *Cred) error { function darwinProtocolFromScheme (line 568) | func darwinProtocolFromScheme(protocol string) uintptr { type darwinOptionalFields (line 592) | type darwinOptionalFields struct method Release (line 601) | func (f *darwinOptionalFields) Release() { function newOptionalFields (line 619) | func newOptionalFields(cred *Cred, keys, values *[]uintptr) *darwinOptio... function deref (line 667) | func deref(ptr uintptr) uintptr { FILE: modules/keyring/keyring_darwin_security.go constant storageSecurity (line 21) | storageSecurity = "security" constant securityCLIPath (line 23) | securityCLIPath = "/usr/bin/security" constant securityErrNotFoundExitCode (line 26) | securityErrNotFoundExitCode = 44 constant maxSecurityCommandLen (line 31) | maxSecurityCommandLen = 64 * 1024 function protocolFourCC (line 43) | func protocolFourCC(protocol string) string { function isSecurityNotFoundError (line 66) | func isSecurityNotFoundError(err error, output []byte) bool { function shellQuote (line 86) | func shellQuote(s string) string { function getFromSecurityCLI (line 100) | func getFromSecurityCLI(ctx context.Context, cred *Cred) (*Cred, error) { function parseKeychainOutput (line 166) | func parseKeychainOutput(r io.Reader) (*Cred, error) { function parseBlobValue (line 214) | func parseBlobValue(s string) (string, error) { function storeToSecurityCLI (line 231) | func storeToSecurityCLI(ctx context.Context, cred *Cred) error { function eraseFromSecurityCLI (line 327) | func eraseFromSecurityCLI(ctx context.Context, cred *Cred) error { FILE: modules/keyring/keyring_darwin_security_test.go function TestSecurityCLI (line 11) | func TestSecurityCLI(t *testing.T) { function TestSecurityCLIWithHTTP (line 76) | func TestSecurityCLIWithHTTP(t *testing.T) { function TestSecurityCLIWithSpecialChars (line 103) | func TestSecurityCLIWithSpecialChars(t *testing.T) { FILE: modules/keyring/keyring_darwin_test.go function TestGet (line 10) | func TestGet(t *testing.T) { FILE: modules/keyring/keyring_file.go type credentialStorage (line 33) | type credentialStorage struct method encrypt (line 171) | func (s *credentialStorage) encrypt(plaintext string) (string, error) { method decrypt (line 192) | func (s *credentialStorage) decrypt(ciphertext string) (string, error) { method readCredentials (line 222) | func (s *credentialStorage) readCredentials() (map[string]*Cred, error) { method decryptCredentialEntry (line 256) | func (s *credentialStorage) decryptCredentialEntry(entry credentialEnt... method writeCredentials (line 280) | func (s *credentialStorage) writeCredentials(credentials map[string]*C... method acquireFileLock (line 339) | func (s *credentialStorage) acquireFileLock(ctx context.Context) (func... method encryptCredentialEntry (line 367) | func (s *credentialStorage) encryptCredentialEntry(target string, cred... method Get (line 391) | func (s *credentialStorage) Get(ctx context.Context, cred *Cred) (*Cre... method Store (line 414) | func (s *credentialStorage) Store(ctx context.Context, cred *Cred) err... method Erase (line 442) | func (s *credentialStorage) Erase(ctx context.Context, cred *Cred) err... method Name (line 471) | func (s *credentialStorage) Name() string { type credentialEntry (line 41) | type credentialEntry struct type credentialsFile (line 48) | type credentialsFile struct constant defaultCredentialsFileName (line 53) | defaultCredentialsFileName = "credentials" constant nonceSize (line 54) | nonceSize = 12 constant lockRetryInterval (line 55) | lockRetryInterval = 20 * time.Millisecond constant lockStaleAfter (line 56) | lockStaleAfter = 2 * time.Minute function newCredentialStorage (line 61) | func newCredentialStorage(encryptionKey, storagePath string) (*credentia... function deriveOrValidateKey (line 86) | func deriveOrValidateKey(encryptionKey string) ([]byte, error) { function hashKey (line 115) | func hashKey(key string) []byte { function getConfigDir (line 122) | func getConfigDir() (string, error) { function deriveEncryptionKey (line 147) | func deriveEncryptionKey() ([]byte, error) { type decryptedCredential (line 250) | type decryptedCredential struct FILE: modules/keyring/keyring_file_test.go function TestDeriveOrValidateKeyRawStringFallback (line 15) | func TestDeriveOrValidateKeyRawStringFallback(t *testing.T) { function TestCredentialStorageEraseIsIdempotent (line 27) | func TestCredentialStorageEraseIsIdempotent(t *testing.T) { function TestAcquireFileLockTimeout (line 51) | func TestAcquireFileLockTimeout(t *testing.T) { function TestAcquireFileLockBreaksStaleLock (line 72) | func TestAcquireFileLockBreaksStaleLock(t *testing.T) { FILE: modules/keyring/keyring_test.go constant service (line 13) | service = "test-service" constant testuser (line 14) | testuser = "test-user" constant password (line 15) | password = "test-password" function TestBuildTargetName (line 18) | func TestBuildTargetName(t *testing.T) { function TestParseTargetName (line 87) | func TestParseTargetName(t *testing.T) { function TestBuildAndParseTargetName (line 181) | func TestBuildAndParseTargetName(t *testing.T) { function TestStore (line 250) | func TestStore(t *testing.T) { function TestEncodePassword (line 260) | func TestEncodePassword(t *testing.T) { FILE: modules/keyring/keyring_unix.go constant zetaUserName (line 28) | zetaUserName = "zeta-credential-manager" constant maxUnixUserNameLength (line 32) | maxUnixUserNameLength = 513 constant maxUnixPasswordLength (line 37) | maxUnixPasswordLength = 100 * 1024 constant storageSecretService (line 42) | storageSecretService = "secret-service" type storageConfig (line 46) | type storageConfig struct function resolveStorageConfig (line 55) | func resolveStorageConfig(opts ...Option) *storageConfig { function getCredentialStorageWithConfig (line 73) | func getCredentialStorageWithConfig(cfg *storageConfig) (*credentialStor... function Get (line 80) | func Get(ctx context.Context, cred *Cred, opts ...Option) (*Cred, error) { function Store (line 117) | func Store(ctx context.Context, cred *Cred, opts ...Option) error { function Erase (line 177) | func Erase(ctx context.Context, cred *Cred, opts ...Option) error { function getFromSecretService (line 210) | func getFromSecretService(cred *Cred) (*Cred, error) { function storeToSecretService (line 264) | func storeToSecretService(cred *Cred) error { function eraseFromSecretService (line 337) | func eraseFromSecretService(cred *Cred) error { function findItem (line 360) | func findItem(svc *ss.SecretService, service, user string) (dbus.ObjectP... FILE: modules/keyring/keyring_windows.go constant CRED_MAX_USERNAME_LENGTH (line 24) | CRED_MAX_USERNAME_LENGTH = 513 constant CRED_MAX_GENERIC_TARGET_NAME_LENGTH (line 27) | CRED_MAX_GENERIC_TARGET_NAME_LENGTH = 32767 constant CRED_MAX_CREDENTIAL_BLOB_SIZE (line 33) | CRED_MAX_CREDENTIAL_BLOB_SIZE = 2560 constant CRED_TYPE_GENERIC (line 36) | CRED_TYPE_GENERIC = 1 constant CRED_PERSIST_LOCAL_MACHINE (line 39) | CRED_PERSIST_LOCAL_MACHINE = 2 constant CRED_PERSIST_SESSION (line 42) | CRED_PERSIST_SESSION = 1 type CREDENTIALW (line 60) | type CREDENTIALW struct function Get (line 78) | func Get(ctx context.Context, cred *Cred, opts ...Option) (*Cred, error) { function getFromCred (line 105) | func getFromCred(ctx context.Context, cred *Cred) (*Cred, error) { function Store (line 170) | func Store(ctx context.Context, cred *Cred, opts ...Option) error { function storeToCred (line 213) | func storeToCred(ctx context.Context, cred *Cred) error { function Erase (line 288) | func Erase(ctx context.Context, cred *Cred, opts ...Option) error { function eraseFromCred (line 315) | func eraseFromCred(ctx context.Context, cred *Cred) error { FILE: modules/keyring/secret_service/secret_service.go constant serviceName (line 13) | serviceName = "org.freedesktop.secrets" constant servicePath (line 14) | servicePath = "/org/freedesktop/secrets" constant serviceInterface (line 15) | serviceInterface = "org.freedesktop.Secret.Service" constant collectionInterface (line 16) | collectionInterface = "org.freedesktop.Secret.Collection" constant collectionsInterface (line 17) | collectionsInterface = "org.freedesktop.Secret.Service.Collections" constant itemInterface (line 18) | itemInterface = "org.freedesktop.Secret.Item" constant sessionInterface (line 19) | sessionInterface = "org.freedesktop.Secret.Session" constant promptInterface (line 20) | promptInterface = "org.freedesktop.Secret.Prompt" constant loginCollectionAlias (line 22) | loginCollectionAlias = "/org/freedesktop/secrets/aliases/default" constant collectionBasePath (line 23) | collectionBasePath = "/org/freedesktop/secrets/collection/" type Secret (line 27) | type Secret struct function NewSecret (line 35) | func NewSecret(session dbus.ObjectPath, secret string) Secret { type SecretService (line 45) | type SecretService struct method OpenSession (line 64) | func (s *SecretService) OpenSession() (dbus.BusObject, error) { method CheckCollectionPath (line 77) | func (s *SecretService) CheckCollectionPath(path dbus.ObjectPath) error { method GetCollection (line 91) | func (s *SecretService) GetCollection(name string) dbus.BusObject { method GetLoginCollection (line 96) | func (s *SecretService) GetLoginCollection() dbus.BusObject { method Unlock (line 105) | func (s *SecretService) Unlock(collection dbus.ObjectPath) error { method Close (line 132) | func (s *SecretService) Close(session dbus.BusObject) error { method CreateCollection (line 137) | func (s *SecretService) CreateCollection(label string) (dbus.BusObject... method CreateItem (line 162) | func (s *SecretService) CreateItem(collection dbus.BusObject, label st... method handlePrompt (line 186) | func (s *SecretService) handlePrompt(prompt dbus.ObjectPath) (bool, db... method SearchItems (line 221) | func (s *SecretService) SearchItems(collection dbus.BusObject, search ... method GetSecret (line 232) | func (s *SecretService) GetSecret(itemPath dbus.ObjectPath, session db... method Delete (line 243) | func (s *SecretService) Delete(itemPath dbus.ObjectPath) error { function NewSecretService (line 51) | func NewSecretService() (*SecretService, error) { FILE: modules/lfs/error.go type notAPointerError (line 8) | type notAPointerError struct method Error (line 12) | func (e *notAPointerError) Error() string { function NewNotAPointerError (line 16) | func NewNotAPointerError(message string) error { function IsNewNotAPointerError (line 20) | func IsNewNotAPointerError(err error) bool { type badPointerKeyError (line 25) | type badPointerKeyError struct method Error (line 29) | func (e *badPointerKeyError) Error() string { function NewBadPointerKeyError (line 33) | func NewBadPointerKeyError(message string) error { function IsBadPointerKeyError (line 37) | func IsBadPointerKeyError(err error) bool { FILE: modules/lfs/pointer.go constant blobSizeCutoff (line 23) | blobSizeCutoff = 1024 constant PointerMIME (line 27) | PointerMIME = "text/vnd.git-lfs" type Pointer (line 45) | type Pointer struct method Encode (line 76) | func (p *Pointer) Encode(writer io.Writer) (int, error) { method Encoded (line 80) | func (p *Pointer) Encoded() string { type PointerExtension (line 55) | type PointerExtension struct type ByPriority (line 62) | type ByPriority method Len (line 64) | func (p ByPriority) Len() int { return len(p) } method Swap (line 65) | func (p ByPriority) Swap(i, j int) { p[i], p[j] = p[j], p[i] } method Less (line 66) | func (p ByPriority) Less(i, j int) bool { return p[i].Priority < p[j].... function NewPointer (line 68) | func NewPointer(oid string, size int64, exts []*PointerExtension) *Point... function NewPointerExtension (line 72) | func NewPointerExtension(name string, priority int, oid string) *Pointer... function EmptyPointer (line 95) | func EmptyPointer() *Pointer { function EncodePointer (line 99) | func EncodePointer(writer io.Writer, pointer *Pointer) (int, error) { function DecodePointerFromBlob (line 103) | func DecodePointerFromBlob(b *gitobj.Blob) (*Pointer, error) { function DecodePointer (line 111) | func DecodePointer(reader io.Reader) (*Pointer, error) { function DecodeFrom (line 122) | func DecodeFrom(reader io.Reader) (*Pointer, io.Reader, error) { function Decode (line 147) | func Decode(buf []byte) (*Pointer, error) { function verifyVersion (line 158) | func verifyVersion(version string) error { function decodeKV (line 170) | func decodeKV(data []byte) (*Pointer, error) { function parseOid (line 217) | func parseOid(value string) (string, error) { function parsePointerExtension (line 232) | func parsePointerExtension(key string, value string) (*PointerExtension,... function validatePointerExtensions (line 253) | func validatePointerExtensions(exts []*PointerExtension) error { function decodeKVData (line 264) | func decodeKVData(data []byte) (kvps map[string]string, exts map[string]... function EncodeSimple (line 315) | func EncodeSimple(oid string, size int64) string { FILE: modules/lfs/pointer_test.go function assertLine (line 12) | func assertLine(t *testing.T, r *bufio.Reader, expected string) { function TestEncode (line 22) | func TestEncode(t *testing.T) { function TestEncodeEmpty (line 44) | func TestEncodeEmpty(t *testing.T) { function TestEncodeExtensions (line 62) | func TestEncodeExtensions(t *testing.T) { function TestDecode (line 92) | func TestDecode(t *testing.T) { function TestDecodeExtensions (line 105) | func TestDecodeExtensions(t *testing.T) { function TestDecodeExtensionsSort (line 133) | func TestDecodeExtensionsSort(t *testing.T) { function TestDecodePreRelease (line 161) | func TestDecodePreRelease(t *testing.T) { function TestDecodeFromEmptyReader (line 174) | func TestDecodeFromEmptyReader(t *testing.T) { function TestDecodeCanonical (line 192) | func TestDecodeCanonical(t *testing.T) { function TestDecodeInvalid (line 251) | func TestDecodeInvalid(t *testing.T) { function assertEqualWithExample (line 362) | func assertEqualWithExample(t *testing.T, example string, expected, actu... FILE: modules/locale/error.go type Error (line 15) | type Error struct method Error (line 20) | func (e *Error) Error() string { method Unwrap (line 25) | func (e *Error) Unwrap() error { FILE: modules/locale/locale.go function Detect (line 10) | func Detect() (tag language.Tag, err error) { function DetectAll (line 19) | func DetectAll() (tags []language.Tag, err error) { type detector (line 32) | type detector function detect (line 34) | func detect() (lang []string, err error) { FILE: modules/locale/locale_darwin.go function detectViaDefaultsSystem (line 29) | func detectViaDefaultsSystem() ([]string, error) { function parseDefaultsSystemAppleLocale (line 55) | func parseDefaultsSystemAppleLocale(domain string) ([]string, error) { function parseDefaultsSystemAppleLanguages (line 103) | func parseDefaultsSystemAppleLanguages(domain string) ([]string, error) { FILE: modules/locale/locale_posix.go function detectViaLocaleConf (line 18) | func detectViaLocaleConf() (_ []string, err error) { function getLocaleConfPath (line 82) | func getLocaleConfPath() string { FILE: modules/locale/locale_shared.go function detectViaEnvLanguage (line 33) | func detectViaEnvLanguage() ([]string, error) { function detectViaEnvLc (line 48) | func detectViaEnvLc() ([]string, error) { function parseEnvLanguage (line 60) | func parseEnvLanguage(s string) []string { function parseEnvLc (line 66) | func parseEnvLc(s string) string { FILE: modules/locale/locale_windows.go function detectViaRegistry (line 18) | func detectViaRegistry() (langs []string, err error) { FILE: modules/merkletrie/change.go type Action (line 18) | type Action method Byte (line 28) | func (a Action) Byte() byte { method String (line 41) | func (a Action) String() string { constant _ (line 22) | _ Action = iota constant Insert (line 23) | Insert constant Delete (line 24) | Delete constant Modify (line 25) | Modify type Change (line 55) | type Change struct method Action (line 63) | func (c *Change) Action() (Action, error) { method String (line 98) | func (c Change) String() string { function NewInsert (line 78) | func NewInsert(n noder.Path) Change { return Change{To: n} } function NewDelete (line 81) | func NewDelete(n noder.Path) Change { return Change{From: n} } function NewModify (line 85) | func NewModify(a, b noder.Path) Change { type Changes (line 115) | type Changes method Add (line 123) | func (l *Changes) Add(c Change) { method AddRecursiveInsert (line 129) | func (l *Changes) AddRecursiveInsert(ctx context.Context, root noder.P... method AddRecursiveDelete (line 135) | func (l *Changes) AddRecursiveDelete(ctx context.Context, root noder.P... method addRecursive (line 141) | func (l *Changes) addRecursive(ctx context.Context, root noder.Path, c... function NewChanges (line 118) | func NewChanges() Changes { type noderToChangeFn (line 139) | type noderToChangeFn FILE: modules/merkletrie/difftree.go function DiffTreeContext (line 267) | func DiffTreeContext(ctx context.Context, fromTree, toTree noder.Noder, function diffNodes (line 335) | func diffNodes(ctx context.Context, changes *Changes, ii *doubleIter) er... function diffNodesSameName (line 365) | func diffNodesSameName(ctx context.Context, changes *Changes, ii *double... function diffDirs (line 406) | func diffDirs(ctx context.Context, changes *Changes, ii *doubleIter) err... FILE: modules/merkletrie/doubleiter.go type doubleIter (line 24) | type doubleIter struct method nextBoth (line 73) | func (d *doubleIter) nextBoth(ctx context.Context) error { method nextFrom (line 86) | func (d *doubleIter) nextFrom(ctx context.Context) (err error) { method nextTo (line 93) | func (d *doubleIter) nextTo(ctx context.Context) (err error) { method stepBoth (line 100) | func (d *doubleIter) stepBoth(ctx context.Context) (err error) { method remaining (line 112) | func (d *doubleIter) remaining() remaining { method sameHash (line 139) | func (d *doubleIter) sameHash() bool { method compare (line 154) | func (d *doubleIter) compare(ctx context.Context) (s comparison, err e... function newDoubleIter (line 40) | func newDoubleIter(ctx context.Context, from, to noder.Noder, hashEqual ... function turnEOFIntoNil (line 64) | func turnEOFIntoNil(e error) error { type remaining (line 130) | type remaining constant noMoreNoders (line 133) | noMoreNoders remaining = iota constant onlyToRemains (line 134) | onlyToRemains constant onlyFromRemains (line 135) | onlyFromRemains constant bothHaveNodes (line 136) | bothHaveNodes type comparison (line 182) | type comparison struct FILE: modules/merkletrie/filesystem/node.go type Node (line 25) | type Node struct method fsPath (line 48) | func (n Node) fsPath(p string) string { method Hash (line 58) | func (n *Node) Hash() []byte { method Mode (line 65) | func (n *Node) Mode() filemode.FileMode { method UnifyMode (line 73) | func (n *Node) UnifyMode(mode filemode.FileMode) { method ModifiedAt (line 77) | func (n *Node) ModifiedAt() time.Time { method Size (line 81) | func (n *Node) Size() int64 { method HashRaw (line 85) | func (n *Node) HashRaw() plumbing.Hash { method Name (line 92) | func (n *Node) Name() string { method IsDir (line 96) | func (n *Node) IsDir() bool { method Skip (line 100) | func (n *Node) Skip() bool { method Children (line 104) | func (n *Node) Children(ctx context.Context) ([]noder.Noder, error) { method NumChildren (line 112) | func (n *Node) NumChildren(ctx context.Context) (int, error) { method calculateChildren (line 120) | func (n *Node) calculateChildren() error { method newChildNode (line 162) | func (n *Node) newChildNode(fi os.FileInfo) (*Node, error) { method calculateHash (line 184) | func (n *Node) calculateHash() { method doCalculateHashForRegular (line 203) | func (n *Node) doCalculateHashForRegular() plumbing.Hash { method doCalculateHashForSymlink (line 218) | func (n *Node) doCalculateHashForSymlink() plumbing.Hash { method String (line 232) | func (n *Node) String() string { method Type (line 236) | func (n *Node) Type() string { function NewRootNode (line 44) | func NewRootNode(root string, m noder.Matcher) noder.Noder { FILE: modules/merkletrie/filesystem/node_test.go function WalkNode (line 12) | func WalkNode(ctx context.Context, n noder.Noder) { function TestNode (line 27) | func TestNode(t *testing.T) { function TestNode2 (line 31) | func TestNode2(t *testing.T) { function TestNode3 (line 36) | func TestNode3(t *testing.T) { FILE: modules/merkletrie/index/node.go type Node (line 21) | type Node struct method String (line 70) | func (n *Node) String() string { method Skip (line 74) | func (n *Node) Skip() bool { method Hash (line 85) | func (n *Node) Hash() []byte { method HashRaw (line 94) | func (n *Node) HashRaw() plumbing.Hash { method Mode (line 104) | func (n *Node) Mode() filemode.FileMode { method TrueMode (line 111) | func (n *Node) TrueMode() filemode.FileMode { method ModifiedAt (line 121) | func (n *Node) ModifiedAt() time.Time { method IsFragments (line 128) | func (n *Node) IsFragments() bool { method Size (line 132) | func (n *Node) Size() int64 { method Name (line 139) | func (n *Node) Name() string { method IsDir (line 143) | func (n *Node) IsDir() bool { method Children (line 147) | func (n *Node) Children(ctx context.Context) ([]noder.Noder, error) { method NumChildren (line 151) | func (n *Node) NumChildren(ctx context.Context) (int, error) { type FragmentsGetter (line 30) | type FragmentsGetter function NewRootNode (line 33) | func NewRootNode(ctx context.Context, idx *index.Index, fn FragmentsGett... FILE: modules/merkletrie/internal/frame/frame.go type Frame (line 15) | type Frame struct method String (line 49) | func (f *Frame) String() string { method First (line 68) | func (f *Frame) First() (noder.Noder, bool) { method Drop (line 80) | func (f *Frame) Drop() { method Len (line 91) | func (f *Frame) Len() int { type byName (line 20) | type byName method Len (line 22) | func (a byName) Len() int { return len(a) } method Swap (line 23) | func (a byName) Swap(i, j int) { a[i], a[j] = a[j], a[i] } method Less (line 24) | func (a byName) Less(i, j int) bool { function New (line 29) | func New(ctx context.Context, n noder.Noder) (*Frame, error) { FILE: modules/merkletrie/internal/fsnoder/dir.go type dir (line 15) | type dir struct method Hash (line 74) | func (d *dir) Hash() []byte { method calculateHash (line 85) | func (d *dir) calculateHash() { method Name (line 96) | func (d *dir) Name() string { method IsDir (line 100) | func (d *dir) IsDir() bool { method Children (line 106) | func (d *dir) Children(ctx context.Context) ([]noder.Noder, error) { method NumChildren (line 112) | func (d *dir) NumChildren(ctx context.Context) (int, error) { method Skip (line 116) | func (d *dir) Skip() bool { method String (line 129) | func (d *dir) String() string { type byName (line 21) | type byName method Len (line 23) | func (a byName) Len() int { return len(a) } method Swap (line 24) | func (a byName) Swap(i, j int) { a[i], a[j] = a[j], a[i] } method Less (line 25) | func (a byName) Less(i, j int) bool { function newDir (line 31) | func newDir(name string, children []noder.Noder) (*dir, error) { function hasChildrenWithNoName (line 50) | func hasChildrenWithNoName(children []noder.Noder) bool { function hasDuplicatedNames (line 60) | func hasDuplicatedNames(children []noder.Noder) bool { constant dirStartMark (line 121) | dirStartMark = '(' constant dirEndMark (line 122) | dirEndMark = ')' constant dirElementSep (line 123) | dirElementSep = ' ' FILE: modules/merkletrie/internal/fsnoder/file.go type file (line 13) | type file struct method Hash (line 33) | func (f *file) Hash() []byte { method Name (line 43) | func (f *file) Name() string { method IsDir (line 47) | func (f *file) IsDir() bool { method Children (line 51) | func (f *file) Children(ctx context.Context) ([]noder.Noder, error) { method NumChildren (line 55) | func (f *file) NumChildren(ctx context.Context) (int, error) { method Skip (line 59) | func (f *file) Skip() bool { method String (line 69) | func (f *file) String() string { function newFile (line 20) | func newFile(name, contents string) (*file, error) { constant fileStartMark (line 64) | fileStartMark = '<' constant fileEndMark (line 65) | fileEndMark = '>' FILE: modules/merkletrie/internal/fsnoder/new.go function New (line 15) | func New(s string) (noder.Noder, error) { constant root (line 20) | root = true constant nonRoot (line 21) | nonRoot = false function decodeDir (line 27) | func decodeDir(data []byte, isRoot bool) (*dir, error) { function isNumber (line 65) | func isNumber(b rune) bool { function isLetter (line 69) | func isLetter(b rune) bool { function decodeChildren (line 73) | func decodeChildren(data []byte) ([]noder.Noder, error) { function split (line 94) | func split(data []byte) [][]byte { function decodeChild (line 118) | func decodeChild(data []byte) (noder.Noder, error) { function decodeFile (line 142) | func decodeFile(data []byte) (noder.Noder, error) { function validFileName (line 176) | func validFileName(s string) bool { function validFileContents (line 186) | func validFileContents(s string) bool { function HashEqual (line 197) | func HashEqual(a, b noder.Hasher) bool { FILE: modules/merkletrie/iter.go type Iter (line 47) | type Iter struct method top (line 99) | func (iter *Iter) top() (*frame.Frame, bool) { method push (line 108) | func (iter *Iter) push(f *frame.Frame) { method Next (line 121) | func (iter *Iter) Next(ctx context.Context) (noder.Path, error) { method Step (line 129) | func (iter *Iter) Step(ctx context.Context) (noder.Path, error) { method advance (line 139) | func (iter *Iter) advance(ctx context.Context, wantDescend bool) (node... method current (line 177) | func (iter *Iter) current() (noder.Path, error) { method drop (line 202) | func (iter *Iter) drop() { function NewIter (line 70) | func NewIter(ctx context.Context, n noder.Noder) (*Iter, error) { function NewIterFromPath (line 77) | func NewIterFromPath(ctx context.Context, p noder.Path) (*Iter, error) { function newIter (line 81) | func newIter(ctx context.Context, root noder.Noder, base noder.Path) (*I... constant doDescend (line 113) | doDescend = true constant dontDescend (line 114) | dontDescend = false FILE: modules/merkletrie/noder/noder.go type Hasher (line 23) | type Hasher interface type OriginHasher (line 27) | type OriginHasher interface type Comparators (line 31) | type Comparators interface type Equal (line 41) | type Equal type Noder (line 51) | type Noder interface FILE: modules/merkletrie/noder/path.go type Path (line 17) | type Path method Skip (line 19) | func (p Path) Skip() bool { method String (line 29) | func (p Path) String() string { method Last (line 42) | func (p Path) Last() Noder { method Hash (line 47) | func (p Path) Hash() []byte { method Name (line 52) | func (p Path) Name() string { method IsDir (line 58) | func (p Path) IsDir() bool { method Children (line 63) | func (p Path) Children(ctx context.Context) ([]Noder, error) { method NumChildren (line 69) | func (p Path) NumChildren(ctx context.Context) (int, error) { method Compare (line 79) | func (p Path) Compare(other Path) int { FILE: modules/merkletrie/noder/sparse.go type Matcher (line 10) | type Matcher interface type sparseTreeMatcher (line 15) | type sparseTreeMatcher struct method Len (line 19) | func (m *sparseTreeMatcher) Len() int { method Match (line 23) | func (m *sparseTreeMatcher) Match(name string) (Matcher, bool) { method insert (line 28) | func (m *sparseTreeMatcher) insert(p string) { function NewSparseTreeMatcher (line 41) | func NewSparseTreeMatcher(dirs []string) Matcher { type SparseMatcher (line 49) | type SparseMatcher interface type sparseMatcher (line 53) | type sparseMatcher struct method Match (line 73) | func (m *sparseMatcher) Match(name string) bool { constant dot (line 58) | dot = "." function isSparseMatch (line 68) | func isSparseMatch(sparseDir, parent string) bool { function NewSparseMatcher (line 89) | func NewSparseMatcher(dirs []string) SparseMatcher { FILE: modules/merkletrie/noder/sparse_test.go function TestNewSparseTreeMatcher (line 10) | func TestNewSparseTreeMatcher(t *testing.T) { function TestPathDir (line 15) | func TestPathDir(t *testing.T) { function TestSparseMatcher (line 25) | func TestSparseMatcher(t *testing.T) { FILE: modules/mime/internal/charset/charset.go constant F (line 14) | F = 0 constant T (line 15) | T = 1 constant I (line 16) | I = 2 constant X (line 17) | X = 3 function FromBOM (line 57) | func FromBOM(content []byte) string { function FromPlain (line 72) | func FromPlain(content []byte) string { function latin (line 115) | func latin(content []byte) string { function ascii (line 135) | func ascii(content []byte) bool { function FromXML (line 147) | func FromXML(content []byte) string { function fromXML (line 153) | func fromXML(s scan.Bytes) string { function FromHTML (line 182) | func FromHTML(content []byte) string { function fromHTML (line 192) | func fromHTML(s scan.Bytes) string { function extractCharsetFromMeta (line 269) | func extractCharsetFromMeta(s scan.Bytes) []byte { FILE: modules/mime/internal/charset/charset_test.go function TestExtractCharsetFromMeta (line 36) | func TestExtractCharsetFromMeta(t *testing.T) { function FuzzExtractCharsetFromMeta (line 46) | func FuzzExtractCharsetFromMeta(f *testing.F) { function TestFromHTML (line 83) | func TestFromHTML(t *testing.T) { function FuzzFromHTML (line 93) | func FuzzFromHTML(f *testing.F) { function TestFromXML (line 132) | func TestFromXML(t *testing.T) { function FuzzFromXML (line 142) | func FuzzFromXML(f *testing.F) { function TestFromPlain (line 154) | func TestFromPlain(t *testing.T) { function FuzzFromPlain (line 171) | func FuzzFromPlain(f *testing.F) { constant xmlDoc (line 189) | xmlDoc = ` constant htmlDoc (line 196) | htmlDoc = ` function BenchmarkFromHTML (line 210) | func BenchmarkFromHTML(b *testing.B) { function BenchmarkFromXML (line 217) | func BenchmarkFromXML(b *testing.B) { function BenchmarkFromPlain (line 224) | func BenchmarkFromPlain(b *testing.B) { FILE: modules/mime/internal/csv/parser.go type Parser (line 12) | type Parser struct method readLine (line 26) | func (r *Parser) readLine() (line []byte, cutShort bool) { method CountFields (line 49) | func (r *Parser) CountFields(collectIndexes bool) (fields int, fieldPo... function NewParser (line 18) | func NewParser(comma, comment byte, s scan.Bytes) *Parser { function lengthNL (line 120) | func lengthNL(b []byte) int { FILE: modules/mime/internal/csv/parser_test.go type line (line 15) | type line struct function TestParser (line 125) | func TestParser(t *testing.T) { function ourLines (line 140) | func ourLines(data string, comma, comment byte) []line { function stdlibLines (line 154) | func stdlibLines(data string, comma, comment byte) ([]line, [][]string, ... function BenchmarkCSVStdlibDecoder (line 200) | func BenchmarkCSVStdlibDecoder(b *testing.B) { function BenchmarkCSVOurParser (line 223) | func BenchmarkCSVOurParser(b *testing.B) { function FuzzParser (line 239) | func FuzzParser(f *testing.F) { FILE: modules/mime/internal/json/parser.go constant QueryNone (line 9) | QueryNone = "json" constant QueryGeo (line 10) | QueryGeo = "geo" constant QueryHAR (line 11) | QueryHAR = "har" constant QueryGLTF (line 12) | QueryGLTF = "gltf" constant QueryCDX (line 13) | QueryCDX = "cdx" constant maxRecursion (line 14) | maxRecursion = 4096 type parserState (line 58) | type parserState struct method reset (line 118) | func (p *parserState) reset() { method consumeSpace (line 125) | func (p *parserState) consumeSpace(b []byte) (n int) { method consumeConst (line 134) | func (p *parserState) consumeConst(b, cnst []byte) int { method consumeString (line 146) | func (p *parserState) consumeString(b []byte) (n int) { method consumeNumber (line 184) | func (p *parserState) consumeNumber(b []byte) (n int) { method consumeArray (line 252) | func (p *parserState) consumeArray(b []byte, qs []query, lvl int) (n i... method appendPath (line 303) | func (p *parserState) appendPath(path []byte, qs []query) { method popLastPath (line 308) | func (p *parserState) popLastPath(qs []query) { method consumeObject (line 314) | func (p *parserState) consumeObject(b []byte, qs []query, lvl int) (n ... method consumeAny (line 392) | func (p *parserState) consumeAny(b []byte, qs []query, lvl int) (n int) { type query (line 79) | type query struct function eq (line 88) | func eq(path1, path2 [][]byte) bool { function Parse (line 102) | func Parse(queryType string, raw []byte) (parsed, inspected, firstToken ... function queryPathMatch (line 291) | func queryPathMatch(qs []query, path [][]byte) int { function isSpace (line 446) | func isSpace(c byte) bool { function isDigit (line 449) | func isDigit(c byte) bool { function isXDigit (line 453) | func isXDigit(c byte) bool { constant TokInvalid (line 461) | TokInvalid = 0 constant TokNull (line 462) | TokNull = 1 << iota constant TokTrue (line 463) | TokTrue constant TokFalse (line 464) | TokFalse constant TokNumber (line 465) | TokNumber constant TokString (line 466) | TokString constant TokArray (line 467) | TokArray constant TokObject (line 468) | TokObject constant TokComma (line 469) | TokComma FILE: modules/mime/internal/json/parser_test.go function TestConsumeString (line 318) | func TestConsumeString(t *testing.T) { function TestConsumeNumber (line 345) | func TestConsumeNumber(t *testing.T) { function TestConsumeArray (line 444) | func TestConsumeArray(t *testing.T) { function TestQueryObject (line 474) | func TestQueryObject(t *testing.T) { function TestConsumeObject (line 565) | func TestConsumeObject(t *testing.T) { function TestConsumeConst (line 587) | func TestConsumeConst(t *testing.T) { function testTruncating (line 620) | func testTruncating(t *testing.T, jsonString string) { function TestPositives (line 635) | func TestPositives(t *testing.T) { function TestPositivesCompacted (line 641) | func TestPositivesCompacted(t *testing.T) { function TestPositivesIndented (line 654) | func TestPositivesIndented(t *testing.T) { function TestNegatives (line 678) | func TestNegatives(t *testing.T) { function TestMaxRecursion (line 694) | func TestMaxRecursion(t *testing.T) { function TestStack (line 726) | func TestStack(t *testing.T) { function TestCurrPathBounded (line 769) | func TestCurrPathBounded(t *testing.T) { function BenchmarkParse (line 790) | func BenchmarkParse(b *testing.B) { function BenchmarkJSONStdlibDecoder (line 800) | func BenchmarkJSONStdlibDecoder(b *testing.B) { function BenchmarkJSONOurParser (line 812) | func BenchmarkJSONOurParser(b *testing.B) { function FuzzJson (line 820) | func FuzzJson(f *testing.F) { FILE: modules/mime/internal/magic/archive.go function SevenZ (line 9) | func SevenZ(raw []byte, _ uint32) bool { function Gzip (line 14) | func Gzip(raw []byte, _ uint32) bool { function Fits (line 19) | func Fits(raw []byte, _ uint32) bool { function Xar (line 28) | func Xar(raw []byte, _ uint32) bool { function Bz2 (line 33) | func Bz2(raw []byte, _ uint32) bool { function Ar (line 38) | func Ar(raw []byte, _ uint32) bool { function Deb (line 43) | func Deb(raw []byte, _ uint32) bool { function Warc (line 51) | func Warc(raw []byte, _ uint32) bool { function Cab (line 57) | func Cab(raw []byte, _ uint32) bool { function Xz (line 62) | func Xz(raw []byte, _ uint32) bool { function Lzip (line 67) | func Lzip(raw []byte, _ uint32) bool { function RPM (line 72) | func RPM(raw []byte, _ uint32) bool { function RAR (line 78) | func RAR(raw []byte, _ uint32) bool { function InstallShieldCab (line 84) | func InstallShieldCab(raw []byte, _ uint32) bool { function Zstd (line 93) | func Zstd(raw []byte, limit uint32) bool { function CRX (line 104) | func CRX(raw []byte, limit uint32) bool { function Cpio (line 119) | func Cpio(raw []byte, _ uint32) bool { function Tar (line 132) | func Tar(raw []byte, _ uint32) bool { function tarParseOctal (line 174) | func tarParseOctal(b []byte) int64 { function tarChksum (line 202) | func tarChksum(b []byte) (unsigned, signed int64) { function Zlib (line 214) | func Zlib(raw []byte, _ uint32) bool { FILE: modules/mime/internal/magic/archive_test.go function TestTarParseOctal (line 5) | func TestTarParseOctal(t *testing.T) { FILE: modules/mime/internal/magic/audio.go function Flac (line 9) | func Flac(raw []byte, _ uint32) bool { function Midi (line 14) | func Midi(raw []byte, _ uint32) bool { function Ape (line 19) | func Ape(raw []byte, _ uint32) bool { function MusePack (line 24) | func MusePack(raw []byte, _ uint32) bool { function Au (line 29) | func Au(raw []byte, _ uint32) bool { function Amr (line 34) | func Amr(raw []byte, _ uint32) bool { function Voc (line 39) | func Voc(raw []byte, _ uint32) bool { function M3U (line 44) | func M3U(raw []byte, _ uint32) bool { function AAC (line 50) | func AAC(raw []byte, _ uint32) bool { function Mp3 (line 55) | func Mp3(raw []byte, limit uint32) bool { function Wav (line 83) | func Wav(raw []byte, limit uint32) bool { function Aiff (line 90) | func Aiff(raw []byte, limit uint32) bool { function Qcp (line 97) | func Qcp(raw []byte, limit uint32) bool { FILE: modules/mime/internal/magic/binary.go function Lnk (line 11) | func Lnk(raw []byte, _ uint32) bool { function Wasm (line 16) | func Wasm(raw []byte, _ uint32) bool { function Exe (line 21) | func Exe(raw []byte, _ uint32) bool { function Elf (line 26) | func Elf(raw []byte, _ uint32) bool { function Nes (line 31) | func Nes(raw []byte, _ uint32) bool { function SWF (line 36) | func SWF(raw []byte, _ uint32) bool { function Torrent (line 43) | func Torrent(raw []byte, _ uint32) bool { function Par1 (line 48) | func Par1(raw []byte, _ uint32) bool { function CBOR (line 53) | func CBOR(raw []byte, _ uint32) bool { function classOrMachOFat (line 59) | func classOrMachOFat(in []byte) bool { function Class (line 70) | func Class(raw []byte, limit uint32) bool { function MachO (line 75) | func MachO(raw []byte, limit uint32) bool { function Dbf (line 95) | func Dbf(raw []byte, limit uint32) bool { function ElfObj (line 125) | func ElfObj(raw []byte, limit uint32) bool { function ElfExe (line 131) | func ElfExe(raw []byte, limit uint32) bool { function ElfLib (line 137) | func ElfLib(raw []byte, limit uint32) bool { function ElfDump (line 143) | func ElfDump(raw []byte, limit uint32) bool { function Dcm (line 149) | func Dcm(raw []byte, limit uint32) bool { function Marc (line 155) | func Marc(raw []byte, limit uint32) bool { function GLB (line 192) | func GLB(raw []byte, _ uint32) bool { function TzIf (line 209) | func TzIf(raw []byte, limit uint32) bool { function Pyc (line 230) | func Pyc(raw []byte, limit uint32) bool { FILE: modules/mime/internal/magic/database.go function Sqlite (line 6) | func Sqlite(raw []byte, _ uint32) bool { function MsAccessAce (line 14) | func MsAccessAce(raw []byte, _ uint32) bool { function MsAccessMdb (line 19) | func MsAccessMdb(raw []byte, _ uint32) bool { FILE: modules/mime/internal/magic/document.go function Pdf (line 12) | func Pdf(raw []byte, _ uint32) bool { function Fdf (line 22) | func Fdf(raw []byte, _ uint32) bool { function Mobi (line 27) | func Mobi(raw []byte, _ uint32) bool { function Lit (line 32) | func Lit(raw []byte, _ uint32) bool { function PDF (line 41) | func PDF(raw []byte, _ uint32) bool { function DjVu (line 47) | func DjVu(raw []byte, _ uint32) bool { function P7s (line 61) | func P7s(raw []byte, _ uint32) bool { function Lotus123 (line 87) | func Lotus123(raw []byte, _ uint32) bool { function CHM (line 100) | func CHM(raw []byte, _ uint32) bool { function Inf (line 105) | func Inf(raw []byte, _ uint32) bool { function Hlp (line 110) | func Hlp(raw []byte, _ uint32) bool { function FrameMaker (line 115) | func FrameMaker(raw []byte, _ uint32) bool { FILE: modules/mime/internal/magic/font.go function Woff (line 10) | func Woff(raw []byte, _ uint32) bool { function Woff2 (line 15) | func Woff2(raw []byte, _ uint32) bool { function Otf (line 20) | func Otf(raw []byte, _ uint32) bool { function Ttf (line 29) | func Ttf(raw []byte, limit uint32) bool { function hasSFNTTable (line 36) | func hasSFNTTable(raw []byte) bool { function Eot (line 97) | func Eot(raw []byte, limit uint32) bool { function Ttc (line 106) | func Ttc(raw []byte, limit uint32) bool { FILE: modules/mime/internal/magic/ftyp.go function AVIF (line 10) | func AVIF(raw []byte, _ uint32) bool { function ThreeGP (line 15) | func ThreeGP(raw []byte, _ uint32) bool { function ThreeG2 (line 24) | func ThreeG2(raw []byte, _ uint32) bool { function AMp4 (line 32) | func AMp4(raw []byte, _ uint32) bool { function Mqv (line 46) | func Mqv(raw []byte, _ uint32) bool { function M4a (line 51) | func M4a(raw []byte, _ uint32) bool { function M4v (line 56) | func M4v(raw []byte, _ uint32) bool { function Heic (line 61) | func Heic(raw []byte, _ uint32) bool { function HeicSequence (line 66) | func HeicSequence(raw []byte, _ uint32) bool { function Heif (line 71) | func Heif(raw []byte, _ uint32) bool { function HeifSequence (line 76) | func HeifSequence(raw []byte, _ uint32) bool { function Mj2 (line 81) | func Mj2(raw []byte, _ uint32) bool { function Dvb (line 88) | func Dvb(raw []byte, _ uint32) bool { function QuickTime (line 103) | func QuickTime(raw []byte, _ uint32) bool { function Mp4 (line 134) | func Mp4(raw []byte, _ uint32) bool { FILE: modules/mime/internal/magic/geo.go function Shp (line 11) | func Shp(raw []byte, limit uint32) bool { function Shx (line 48) | func Shx(raw []byte, limit uint32) bool { FILE: modules/mime/internal/magic/image.go function Png (line 13) | func Png(raw []byte, _ uint32) bool { function Apng (line 19) | func Apng(raw []byte, _ uint32) bool { function Jpg (line 48) | func Jpg(raw []byte, _ uint32) bool { function Jp2 (line 53) | func Jp2(raw []byte, _ uint32) bool { function Jpx (line 58) | func Jpx(raw []byte, _ uint32) bool { function Jpm (line 63) | func Jpm(raw []byte, _ uint32) bool { function Gif (line 68) | func Gif(raw []byte, _ uint32) bool { function Bmp (line 74) | func Bmp(raw []byte, _ uint32) bool { function Ps (line 100) | func Ps(raw []byte, _ uint32) bool { function Psd (line 105) | func Psd(raw []byte, _ uint32) bool { function Ico (line 110) | func Ico(raw []byte, _ uint32) bool { function Icns (line 116) | func Icns(raw []byte, _ uint32) bool { function Tiff (line 121) | func Tiff(raw []byte, _ uint32) bool { function Bpg (line 127) | func Bpg(raw []byte, _ uint32) bool { function Xcf (line 132) | func Xcf(raw []byte, _ uint32) bool { function Pat (line 137) | func Pat(raw []byte, _ uint32) bool { function Gbr (line 142) | func Gbr(raw []byte, _ uint32) bool { function Hdr (line 148) | func Hdr(raw []byte, _ uint32) bool { function Xpm (line 153) | func Xpm(raw []byte, _ uint32) bool { function Jxs (line 158) | func Jxs(raw []byte, _ uint32) bool { function Jxr (line 163) | func Jxr(raw []byte, _ uint32) bool { function jpeg2k (line 167) | func jpeg2k(raw []byte, sig []byte) bool { function Webp (line 180) | func Webp(raw []byte, _ uint32) bool { function Dwg (line 187) | func Dwg(raw []byte, _ uint32) bool { function Jxl (line 219) | func Jxl(raw []byte, _ uint32) bool { function DXF (line 234) | func DXF(raw []byte, _ uint32) bool { FILE: modules/mime/internal/magic/magic.go type Detector (line 15) | type Detector type xmlSig (line 16) | type xmlSig struct function offset (line 26) | func offset(raw []byte, sig []byte, offset int) bool { function ciPrefix (line 31) | func ciPrefix(raw []byte, sigs ...[]byte) bool { function ciCheck (line 39) | func ciCheck(sig, raw []byte) bool { function xml (line 58) | func xml(b scan.Bytes, sigs ...xmlSig) bool { function xmlCheck (line 70) | func xmlCheck(sig xmlSig, raw []byte) bool { function markup (line 85) | func markup(b scan.Bytes, sigs ...[]byte) bool { function markupCheck (line 103) | func markupCheck(sig, raw []byte) bool { function ftyp (line 127) | func ftyp(raw []byte, sigs ...[]byte) bool { type shebangSig (line 139) | type shebangSig struct function shebang (line 154) | func shebang(b scan.Bytes, sigs ...shebangSig) bool { FILE: modules/mime/internal/magic/magic_test.go function TestShebangCheck (line 9) | func TestShebangCheck(t *testing.T) { FILE: modules/mime/internal/magic/meteo.go function GRIB (line 8) | func GRIB(raw []byte, _ uint32) bool { function BUFR (line 16) | func BUFR(raw []byte, _ uint32) bool { FILE: modules/mime/internal/magic/ms_office.go function Xlsx (line 9) | func Xlsx(raw []byte, limit uint32) bool { function Docx (line 17) | func Docx(raw []byte, limit uint32) bool { function Pptx (line 25) | func Pptx(raw []byte, limit uint32) bool { function Visio (line 33) | func Visio(raw []byte, limit uint32) bool { function Ole (line 43) | func Ole(raw []byte, limit uint32) bool { function Doc (line 49) | func Doc(raw []byte, _ uint32) bool { function Ppt (line 69) | func Ppt(raw []byte, limit uint32) bool { function Xls (line 107) | func Xls(raw []byte, limit uint32) bool { function Pub (line 142) | func Pub(raw []byte, limit uint32) bool { function Msg (line 150) | func Msg(raw []byte, limit uint32) bool { function Msi (line 159) | func Msi(raw []byte, limit uint32) bool { function One (line 167) | func One(raw []byte, limit uint32) bool { function matchOleClsid (line 177) | func matchOleClsid(in []byte, clsid []byte) bool { function WPD (line 204) | func WPD(raw []byte, _ uint32) bool { FILE: modules/mime/internal/magic/netpbm.go function NetPBM (line 13) | func NetPBM(raw []byte, _ uint32) bool { function NetPGM (line 20) | func NetPGM(raw []byte, _ uint32) bool { function NetPPM (line 27) | func NetPPM(raw []byte, _ uint32) bool { function NetPAM (line 34) | func NetPAM(raw []byte, _ uint32) bool { function netp (line 72) | func netp(s scan.Bytes, prefixes ...string) bool { FILE: modules/mime/internal/magic/ogg.go function Ogg (line 25) | func Ogg(raw []byte, limit uint32) bool { function OggAudio (line 30) | func OggAudio(raw []byte, limit uint32) bool { function OggVideo (line 38) | func OggVideo(raw []byte, limit uint32) bool { FILE: modules/mime/internal/magic/text.go function HTML (line 14) | func HTML(raw []byte, _ uint32) bool { function XML (line 37) | func XML(raw []byte, _ uint32) bool { function Owl2 (line 42) | func Owl2(raw []byte, _ uint32) bool { function Rss (line 49) | func Rss(raw []byte, _ uint32) bool { function Atom (line 56) | func Atom(raw []byte, _ uint32) bool { function Kml (line 63) | func Kml(raw []byte, _ uint32) bool { function Xliff (line 73) | func Xliff(raw []byte, _ uint32) bool { function Collada (line 80) | func Collada(raw []byte, _ uint32) bool { function Gml (line 87) | func Gml(raw []byte, _ uint32) bool { function Gpx (line 96) | func Gpx(raw []byte, _ uint32) bool { function Tcx (line 103) | func Tcx(raw []byte, _ uint32) bool { function X3d (line 110) | func X3d(raw []byte, _ uint32) bool { function Amf (line 117) | func Amf(raw []byte, _ uint32) bool { function Threemf (line 122) | func Threemf(raw []byte, _ uint32) bool { function Xfdf (line 129) | func Xfdf(raw []byte, _ uint32) bool { function CDXXML (line 135) | func CDXXML(raw []byte, _ uint32) bool { function VCard (line 142) | func VCard(raw []byte, _ uint32) bool { function ICalendar (line 147) | func ICalendar(raw []byte, _ uint32) bool { constant snone (line 152) | snone = 0 constant scws (line 153) | scws = scan.CompactWS constant sfw (line 154) | sfw = scan.FullWord constant scwsfw (line 155) | scwsfw = scan.CompactWS | scan.FullWord function phpPageF (line 158) | func phpPageF(raw []byte, _ uint32) bool { function phpScriptF (line 166) | func phpScriptF(raw []byte, _ uint32) bool { function Js (line 176) | func Js(raw []byte, _ uint32) bool { function Lua (line 190) | func Lua(raw []byte, _ uint32) bool { function Perl (line 200) | func Perl(raw []byte, _ uint32) bool { function Python (line 209) | func Python(raw []byte, _ uint32) bool { function Ruby (line 228) | func Ruby(raw []byte, _ uint32) bool { function Tcl (line 238) | func Tcl(raw []byte, _ uint32) bool { function Rtf (line 256) | func Rtf(raw []byte, _ uint32) bool { function Shell (line 261) | func Shell(raw []byte, _ uint32) bool { function Text (line 295) | func Text(raw []byte, _ uint32) bool { function XHTML (line 314) | func XHTML(raw []byte, limit uint32) bool { function Php (line 326) | func Php(raw []byte, limit uint32) bool { function JSON (line 334) | func JSON(raw []byte, limit uint32) bool { function GeoJSON (line 344) | func GeoJSON(raw []byte, limit uint32) bool { function HAR (line 350) | func HAR(raw []byte, limit uint32) bool { function GLTF (line 359) | func GLTF(raw []byte, limit uint32) bool { function CDXJSON (line 365) | func CDXJSON(raw []byte, limit uint32) bool { function jsonHelper (line 372) | func jsonHelper(raw scan.Bytes, limit uint32, q string, wantToks ...int)... function NdJSON (line 403) | func NdJSON(raw []byte, limit uint32) bool { function Svg (line 424) | func Svg(raw []byte, limit uint32) bool { function svgWithoutXMLDeclaration (line 435) | func svgWithoutXMLDeclaration(s scan.Bytes) bool { function svgWithXMLDeclaration (line 467) | func svgWithXMLDeclaration(s scan.Bytes) bool { function Srt (line 496) | func Srt(raw []byte, _ uint32) bool { function Vtt (line 540) | func Vtt(raw []byte, limit uint32) bool { type rfc822Hint (line 563) | type rfc822Hint struct function RFC822 (line 571) | func RFC822(raw []byte, limit uint32) bool { function lineHasRFC822Hint (line 608) | func lineHasRFC822Hint(b scan.Bytes, hints []rfc822Hint) bool { FILE: modules/mime/internal/magic/text_csv.go function CSV (line 9) | func CSV(raw []byte, limit uint32) bool { function TSV (line 14) | func TSV(raw []byte, limit uint32) bool { function sv (line 18) | func sv(in []byte, comma byte, limit uint32) bool { FILE: modules/mime/internal/magic/text_test.go function BenchmarkJSONPathological (line 9) | func BenchmarkJSONPathological(b *testing.B) { function TestRFC822 (line 39) | func TestRFC822(t *testing.T) { FILE: modules/mime/internal/magic/video.go function Flv (line 8) | func Flv(raw []byte, _ uint32) bool { function Asf (line 13) | func Asf(raw []byte, _ uint32) bool { function Rmvb (line 21) | func Rmvb(raw []byte, _ uint32) bool { function WebM (line 26) | func WebM(raw []byte, limit uint32) bool { function Mkv (line 31) | func Mkv(raw []byte, limit uint32) bool { function isMatroskaFileTypeMatched (line 40) | func isMatroskaFileTypeMatched(in []byte, flType string) bool { function isFileTypeNamePresent (line 51) | func isFileTypeNamePresent(in []byte, flType string) bool { function vintWidth (line 71) | func vintWidth(v int) int { function Mpeg (line 81) | func Mpeg(raw []byte, limit uint32) bool { function Avi (line 87) | func Avi(raw []byte, limit uint32) bool { FILE: modules/mime/internal/magic/zip.go function Odt (line 10) | func Odt(raw []byte, _ uint32) bool { function Ott (line 15) | func Ott(raw []byte, _ uint32) bool { function Ods (line 20) | func Ods(raw []byte, _ uint32) bool { function Ots (line 25) | func Ots(raw []byte, _ uint32) bool { function Odp (line 30) | func Odp(raw []byte, _ uint32) bool { function Otp (line 35) | func Otp(raw []byte, _ uint32) bool { function Odg (line 40) | func Odg(raw []byte, _ uint32) bool { function Otg (line 45) | func Otg(raw []byte, _ uint32) bool { function Odf (line 50) | func Odf(raw []byte, _ uint32) bool { function Odc (line 55) | func Odc(raw []byte, _ uint32) bool { function Epub (line 60) | func Epub(raw []byte, _ uint32) bool { function Sxc (line 65) | func Sxc(raw []byte, _ uint32) bool { function Zip (line 70) | func Zip(raw []byte, limit uint32) bool { function Jar (line 86) | func Jar(raw []byte, limit uint32) bool { function KMZ (line 100) | func KMZ(raw []byte, _ uint32) bool { function executableJar (line 109) | func executableJar(b scan.Bytes) bool { type zipIterator (line 123) | type zipIterator struct method next (line 193) | func (i *zipIterator) next() []byte { method skipZipflingerEntry (line 223) | func (i *zipIterator) skipZipflingerEntry() (skipped bool) { type zipEntries (line 127) | type zipEntries method match (line 132) | func (z zipEntries) match(file []byte) bool { function zipHas (line 147) | func zipHas(raw scan.Bytes, searchFor zipEntries, stopAfter int) bool { function msoxml (line 164) | func msoxml(raw scan.Bytes, searchFor zipEntries, stopAfter int) bool { function APK (line 285) | func APK(raw []byte, _ uint32) bool { FILE: modules/mime/internal/magic/zip_test.go function createZip (line 11) | func createZip(files []string) (*bytes.Buffer, error) { function createZipUncompressed (line 25) | func createZipUncompressed(content *bytes.Buffer) (*bytes.Buffer, error) { function TestZeroZip (line 45) | func TestZeroZip(t *testing.T) { function BenchmarkZip (line 181) | func BenchmarkZip(b *testing.B) { FILE: modules/mime/internal/markup/markup.go function GetAnAttribute (line 18) | func GetAnAttribute(s *scan.Bytes) (name, val []byte, hasMore bool) { function getAValue (line 57) | func getAValue(s *scan.Bytes) (_ []byte, hasMore bool) { function SkipAComment (line 96) | func SkipAComment(s *scan.Bytes) (skipped bool) { FILE: modules/mime/internal/markup/markup_test.go function TestGetAnAttribute (line 80) | func TestGetAnAttribute(t *testing.T) { function FuzzGetAnAttribute (line 97) | func FuzzGetAnAttribute(f *testing.F) { function TestGetAValue (line 150) | func TestGetAValue(t *testing.T) { function FuzzGetAValue (line 164) | func FuzzGetAValue(f *testing.F) { function TestGetAllAttributes (line 175) | func TestGetAllAttributes(t *testing.T) { function TestSkipAComment (line 235) | func TestSkipAComment(t *testing.T) { FILE: modules/mime/internal/scan/bytes.go type Bytes (line 10) | type Bytes method Advance (line 12) | func (b *Bytes) Advance(n int) bool { method TrimLWS (line 21) | func (b *Bytes) TrimLWS() { method TrimRWS (line 30) | func (b *Bytes) TrimRWS() { method FirstNonWS (line 40) | func (b Bytes) FirstNonWS() byte { method Peek (line 52) | func (b *Bytes) Peek() byte { method Pop (line 60) | func (b *Bytes) Pop() byte { method PopN (line 70) | func (b *Bytes) PopN(n int) []byte { method PopUntil (line 82) | func (b *Bytes) PopUntil(stopAt ...byte) Bytes { method ReadSlice (line 97) | func (b *Bytes) ReadSlice(stopAt byte) Bytes { method Line (line 115) | func (b *Bytes) Line() Bytes { method DropLastLine (line 132) | func (b *Bytes) DropLastLine(readLimit uint32) { method Uint16 (line 145) | func (b *Bytes) Uint16() (uint16, bool) { method Uint32 (line 154) | func (b *Bytes) Uint32() (uint32, bool) { method Uint32be (line 163) | func (b *Bytes) Uint32be() (uint32, bool) { method Search (line 188) | func (b Bytes) Search(p []byte, flags Flags) (i int, l int) { method Match (line 218) | func (b Bytes) Match(p []byte, flags Flags) int { type Flags (line 172) | type Flags constant CompactWS (line 176) | CompactWS Flags = 1 << iota constant IgnoreCase (line 180) | IgnoreCase constant FullWord (line 182) | FullWord function isUpper (line 274) | func isUpper(c byte) bool { function upper (line 277) | func upper(c byte) byte { function ByteIsWS (line 284) | func ByteIsWS(b byte) bool { FILE: modules/mime/internal/scan/bytes_test.go function TestPeek (line 13) | func TestPeek(t *testing.T) { function TestPop (line 38) | func TestPop(t *testing.T) { function TestPopN (line 64) | func TestPopN(t *testing.T) { function TestTrim (line 104) | func TestTrim(t *testing.T) { function TestFirstNonWS (line 145) | func TestFirstNonWS(t *testing.T) { function TestAdvance (line 173) | func TestAdvance(t *testing.T) { function TestLine (line 210) | func TestLine(t *testing.T) { function TestPopUntil (line 259) | func TestPopUntil(t *testing.T) { function TestReadSlice (line 298) | func TestReadSlice(t *testing.T) { function TestUint16 (line 335) | func TestUint16(t *testing.T) { function TestSearch (line 416) | func TestSearch(t *testing.T) { function FuzzSearch (line 428) | func FuzzSearch(f *testing.F) { function TestMatch (line 490) | func TestMatch(t *testing.T) { function FuzzMatch (line 502) | func FuzzMatch(f *testing.F) { function BenchmarkMatch (line 511) | func BenchmarkMatch(b *testing.B) { FILE: modules/mime/mime.go type MIME (line 14) | type MIME struct method String (line 26) | func (m *MIME) String() string { method Extension (line 33) | func (m *MIME) Extension() string { method Parent (line 44) | func (m *MIME) Parent() *MIME { method Is (line 52) | func (m *MIME) Is(expectedMIME string) bool { method alias (line 78) | func (m *MIME) alias(aliases ...string) *MIME { method match (line 85) | func (m *MIME) match(in []byte, readLimit uint32) *MIME { method Flatten (line 111) | func (m *MIME) Flatten() []*MIME { method Hierarchy (line 122) | func (m *MIME) Hierarchy() string { method clone (line 142) | func (m *MIME) clone(charset string) *MIME { method cloneHierarchy (line 157) | func (m *MIME) cloneHierarchy(charset string) *MIME { method lookup (line 169) | func (m *MIME) lookup(mime string) *MIME { method Extend (line 189) | func (m *MIME) Extend(detector func(raw []byte, limit uint32) bool, mi... function newMIME (line 60) | func newMIME( FILE: modules/mime/mime_test.go constant jscode (line 13) | jscode = `#!/bin/node function TestJs (line 18) | func TestJs(t *testing.T) { constant h5 (line 23) | h5 = ` function TestH5 (line 38) | func TestH5(t *testing.T) { constant svgblock (line 43) | svgblock = ` function TestSVG (line 61) | func TestSVG(t *testing.T) { constant svgblockNoComment (line 67) | svgblockNoComment = ` function TestSVGNoComment (line 82) | func TestSVGNoComment(t *testing.T) { constant htmlText (line 88) | htmlText = ` function TestHTML2 (line 106) | func TestHTML2(t *testing.T) { function TestSVG2 (line 111) | func TestSVG2(t *testing.T) { function TestJsonMIME (line 126) | func TestJsonMIME(t *testing.T) { function TestSVGForEach (line 143) | func TestSVGForEach(t *testing.T) { function TestXML (line 172) | func TestXML(t *testing.T) { FILE: modules/mime/mimetype.go constant defaultLimit (line 16) | defaultLimit uint32 = 3072 function Detect (line 25) | func Detect(in []byte) *MIME { function DetectReader (line 46) | func DetectReader(r io.Reader) (*MIME, error) { function DetectFile (line 79) | func DetectFile(path string) (*MIME, error) { function EqualsAny (line 93) | func EqualsAny(s string, mimes ...string) bool { function SetLimit (line 110) | func SetLimit(limit uint32) { function Extend (line 117) | func Extend(detector func(raw []byte, limit uint32) bool, mime, extensio... function Lookup (line 123) | func Lookup(m string) *MIME { FILE: modules/mime/sanitize.go function DetectAny (line 48) | func DetectAny(in []byte) *MIME { method Sanitize (line 52) | func (m *MIME) Sanitize() string { FILE: modules/oss/bucket.go method Stat (line 23) | func (b *bucket) Stat(ctx context.Context, resourcePath string) (*Stat, ... method checkSize (line 53) | func (b *bucket) checkSize(ctx context.Context, resourcePath string, res... method Open (line 76) | func (b *bucket) Open(ctx context.Context, resourcePath string, start, l... method Put (line 118) | func (b *bucket) Put(ctx context.Context, resourcePath string, r io.Read... method Share (line 162) | func (b *bucket) Share(ctx context.Context, resourcePath string, expires... FILE: modules/oss/delete.go function EscapeLFString (line 32) | func EscapeLFString(str string) string { function EscapeXml (line 46) | func EscapeXml(s string) string { function isInCharacterRange (line 96) | func isInCharacterRange(r rune) (inrange bool) { type deleteXML (line 105) | type deleteXML struct type DeleteObject (line 112) | type DeleteObject struct type DeleteObjectsResult (line 119) | type DeleteObjectsResult struct type DeletedKeyInfo (line 125) | type DeletedKeyInfo struct type DeleteObjectVersionsResult (line 133) | type DeleteObjectVersionsResult struct type Owner (line 139) | type Owner struct function marshalDeleteObjectToXml (line 146) | func marshalDeleteObjectToXml(dxml deleteXML) string { method Delete (line 174) | func (b *bucket) Delete(ctx context.Context, resourcePath string) error { method deleteMultipleObjects (line 200) | func (b *bucket) deleteMultipleObjects(ctx context.Context, objectKeys [... method DeleteMultipleObjects (line 240) | func (b *bucket) DeleteMultipleObjects(ctx context.Context, objectKeys [... FILE: modules/oss/error.go type Error (line 16) | type Error struct method Error (line 25) | func (e *Error) Error() string { type ServiceError (line 30) | type ServiceError struct method Error (line 44) | func (e *ServiceError) Error() string { function readResponseBody (line 55) | func readResponseBody(resp *http.Response) ([]byte, error) { function serviceErrFromXML (line 63) | func serviceErrFromXML(body []byte, statusCode int, requestID string) (*... function readOssError (line 76) | func readOssError(resp *http.Response) error { FILE: modules/oss/list.go type ListObjectsResult (line 15) | type ListObjectsResult struct type ObjectProperties (line 28) | type ObjectProperties struct type ListObjectsResultV2 (line 41) | type ListObjectsResultV2 struct type Object (line 54) | type Object struct constant MaxKeys (line 61) | MaxKeys = 1000 method ListObjects (line 65) | func (b *bucket) ListObjects(ctx context.Context, prefix, continuationTo... FILE: modules/oss/misc.go type RangeReader (line 14) | type RangeReader interface type rangeReader (line 21) | type rangeReader struct method Close (line 28) | func (r *rangeReader) Close() error { method Size (line 35) | func (r *rangeReader) Size() int64 { method Range (line 39) | func (r *rangeReader) Range() string { function NewRangeReader (line 43) | func NewRangeReader(rc io.ReadCloser, size int64, hdr string) RangeReader { constant unitBytes (line 49) | unitBytes = "bytes" function parseSizeFromRange (line 59) | func parseSizeFromRange(hdr string) (int64, error) { FILE: modules/oss/misc_test.go function TestSizeFromRange (line 9) | func TestSizeFromRange(t *testing.T) { FILE: modules/oss/multipart.go constant Byte (line 23) | Byte int64 = 1 << (iota * 10) constant KiByte (line 24) | KiByte constant MiByte (line 25) | MiByte constant GiByte (line 26) | GiByte constant TiByte (line 27) | TiByte constant PiByte (line 28) | PiByte constant EiByte (line 29) | EiByte constant MaxRecvBytes (line 33) | MaxRecvBytes = 16 << 20 constant MaxSendBytes (line 34) | MaxSendBytes = math.MaxInt32 constant minPartSize (line 39) | minPartSize = 100 * 1024 constant maxPartSize (line 40) | maxPartSize = 5 * GiByte constant defaultPartSize (line 41) | defaultPartSize = GiByte type InitiateMultipartUploadResult (line 47) | type InitiateMultipartUploadResult struct type UploadPart (line 55) | type UploadPart struct type completeMultipartUploadXML (line 61) | type completeMultipartUploadXML struct type CompleteMultipartUploadResult (line 67) | type CompleteMultipartUploadResult struct type UploadParts (line 75) | type UploadParts method Len (line 77) | func (slice UploadParts) Len() int { method Less (line 81) | func (slice UploadParts) Less(i, j int) bool { method Swap (line 85) | func (slice UploadParts) Swap(i, j int) { type chunk (line 89) | type chunk struct function calculateChunk (line 95) | func calculateChunk(size, partSize int64) []chunk { method initiateMultipartUpload (line 125) | func (b *bucket) initiateMultipartUpload(ctx context.Context, resourcePa... method abortMultipartUpload (line 161) | func (b *bucket) abortMultipartUpload(resourcePath string, mur *Initiate... method completeMultipartUpload (line 193) | func (b *bucket) completeMultipartUpload(ctx context.Context, resourcePa... method uploadPart (line 232) | func (b *bucket) uploadPart(ctx context.Context, resourcePath string, re... method LinearUpload (line 262) | func (b *bucket) LinearUpload(ctx context.Context, resourcePath string, ... FILE: modules/oss/oss.go constant DefaultContentSha256 (line 17) | DefaultContentSha256 = "UNSIGNED-PAYLOAD" constant OssContentSha256Key (line 18) | OssContentSha256Key = "X-Oss-Content-Sha256" type Bucket (line 27) | type Bucket interface constant defaultConnTimeout (line 46) | defaultConnTimeout = time.Second * 60 constant defaultReadWriteTimeout (line 47) | defaultReadWriteTimeout = time.Second * 120 constant defaultIdleConnTimeout (line 48) | defaultIdleConnTimeout = time.Second * 100 constant defaultResponseHeaderTimeout (line 49) | defaultResponseHeaderTimeout = time.Second * 120 constant defaultMaxIdleConns (line 50) | defaultMaxIdleConns = 100 constant defaultMaxIdleConnsPerHost (line 51) | defaultMaxIdleConnsPerHost = 100 type bucket (line 54) | type bucket struct method NewRequestWithContext (line 134) | func (b *bucket) NewRequestWithContext(ctx context.Context, method str... type NewBucketOptions (line 69) | type NewBucketOptions struct function NewBucket (line 80) | func NewBucket(opts *NewBucketOptions) (Bucket, error) { type Stat (line 143) | type Stat struct FILE: modules/oss/signature.go type headerSorter (line 38) | type headerSorter struct method Sort (line 58) | func (hs *headerSorter) Sort() { method Len (line 63) | func (hs *headerSorter) Len() int { method Less (line 68) | func (hs *headerSorter) Less(i, j int) bool { method Swap (line 73) | func (hs *headerSorter) Swap(i, j int) { function newHeaderSorter (line 44) | func newHeaderSorter(m map[string]string) *headerSorter { function NewSignature (line 79) | func NewSignature(content, accessKeySecret string) string { method signature (line 96) | func (b *bucket) signature(req *http.Request, canonicalizedResource stri... method getResourceV2 (line 129) | func (b *bucket) getResourceV2(objectName, subResource string) string { FILE: modules/oss/upload.go method upload (line 14) | func (b *bucket) upload(ctx context.Context, resourcePath, filePath stri... method uploadFilePart (line 23) | func (b *bucket) uploadFilePart(ctx context.Context, resourcePath string... method StartUpload (line 36) | func (b *bucket) StartUpload(ctx context.Context, resourcePath, filePath... FILE: modules/patchview/highlight.go constant defaultCacheSize (line 19) | defaultCacheSize = 1000 constant maxSourceLenForCache (line 21) | maxSourceLenForCache = 10000 constant tabSpaces (line 23) | tabSpaces = " " type lruCache (line 27) | type lruCache struct method get (line 49) | func (c *lruCache) get(key uint64) (string, bool) { method set (line 59) | func (c *lruCache) set(key uint64, value string) { method moveToFrontLocked (line 82) | func (c *lruCache) moveToFrontLocked(item *lruItem) { method evictTailLocked (line 101) | func (c *lruCache) evictTailLocked() { method clear (line 115) | func (c *lruCache) clear() { type lruItem (line 35) | type lruItem struct function newLRUCache (line 42) | func newLRUCache(capacity int) *lruCache { type SyntaxHighlighter (line 124) | type SyntaxHighlighter struct method Highlight (line 159) | func (h *SyntaxHighlighter) Highlight(source, bgColor string) string { method doHighlight (line 205) | func (h *SyntaxHighlighter) doHighlight(source, bgColor string) string { method createCacheKey (line 226) | func (h *SyntaxHighlighter) createCacheKey(source, filename, bgColor s... method ClearCache (line 237) | func (h *SyntaxHighlighter) ClearCache() { method Enabled (line 242) | func (h *SyntaxHighlighter) Enabled() bool { function NewSyntaxHighlighter (line 137) | func NewSyntaxHighlighter(filename string, isDark bool) *SyntaxHighlight... function sanitizeLine (line 184) | func sanitizeLine(s string) string { type diffFormatter (line 247) | type diffFormatter struct method Format (line 257) | func (f *diffFormatter) Format(w io.Writer, style *chroma.Style, it ch... function newDiffFormatter (line 251) | func newDiffFormatter(bgColor string) *diffFormatter { function getDefaultChromaStyle (line 292) | func getDefaultChromaStyle(isDark bool) *chroma.Style { FILE: modules/patchview/highlight_test.go function TestSanitizeLine (line 7) | func TestSanitizeLine(t *testing.T) { FILE: modules/patchview/renderer.go constant minCodeWidth (line 14) | minCodeWidth = 10 type PatchRenderer (line 19) | type PatchRenderer struct method SetPatch (line 53) | func (r *PatchRenderer) SetPatch(p *diferenco.Patch) { method SetSize (line 62) | func (r *PatchRenderer) SetSize(width, height int) { method SetStyle (line 68) | func (r *PatchRenderer) SetStyle(style PatchViewStyle) { method SetLineNumbers (line 73) | func (r *PatchRenderer) SetLineNumbers(enabled bool) { method SetSyntaxHighlight (line 78) | func (r *PatchRenderer) SetSyntaxHighlight(enabled bool) { method SetDarkBackground (line 86) | func (r *PatchRenderer) SetDarkBackground(dark bool) { method initHighlighter (line 92) | func (r *PatchRenderer) initHighlighter() { method SetYOffset (line 108) | func (r *PatchRenderer) SetYOffset(offset int) { method SetXOffset (line 116) | func (r *PatchRenderer) SetXOffset(offset int) { method YOffset (line 121) | func (r *PatchRenderer) YOffset() int { method XOffset (line 126) | func (r *PatchRenderer) XOffset() int { method TotalLines (line 131) | func (r *PatchRenderer) TotalLines() int { method HunkOffsets (line 137) | func (r *PatchRenderer) HunkOffsets() []int { method Render (line 142) | func (r *PatchRenderer) Render() string { method computeMetadata (line 228) | func (r *PatchRenderer) computeMetadata() { method maxYOffset (line 267) | func (r *PatchRenderer) maxYOffset() int { method shouldShowLineNumbers (line 272) | func (r *PatchRenderer) shouldShowLineNumbers() bool { method lineNumWidth (line 280) | func (r *PatchRenderer) lineNumWidth() int { method codeWidth (line 289) | func (r *PatchRenderer) codeWidth() int { method renderHunkHeader (line 299) | func (r *PatchRenderer) renderHunkHeader(hunk *diferenco.Hunk, showLin... method renderLine (line 325) | func (r *PatchRenderer) renderLine(l diferenco.Line, beforeLine, after... method renderEmptyLine (line 386) | func (r *PatchRenderer) renderEmptyLine(showLineNums bool, codeW int) ... function NewPatchRenderer (line 43) | func NewPatchRenderer() *PatchRenderer { function hunkFromCount (line 404) | func hunkFromCount(hunk *diferenco.Hunk) int { function hunkToCount (line 415) | func hunkToCount(hunk *diferenco.Hunk) int { function formatHunkHeader (line 426) | func formatHunkHeader(fromLine, fromCount, toLine, toCount int, section ... function formatHunkRange (line 440) | func formatHunkRange(start, count int, prefix string) string { function digitCount (line 452) | func digitCount(n int) int { function pad (line 465) | func pad(v any, width int) string { FILE: modules/patchview/status_bar.go type StatusBar (line 15) | type StatusBar interface type CursorSetter (line 22) | type CursorSetter interface type PatchesSetter (line 28) | type PatchesSetter interface type DefaultStatusBar (line 34) | type DefaultStatusBar struct method SetStyle (line 48) | func (s *DefaultStatusBar) SetStyle(style PatchViewStyle) { method SetPatches (line 53) | func (s *DefaultStatusBar) SetPatches(patches []*diferenco.Patch) { method SetCursor (line 58) | func (s *DefaultStatusBar) SetCursor(idx int) { method Height (line 63) | func (s *DefaultStatusBar) Height() int { method View (line 68) | func (s *DefaultStatusBar) View(width int) string { method statusStyle (line 140) | func (s *DefaultStatusBar) statusStyle(status string) lipgloss.Style { function NewDefaultStatusBar (line 41) | func NewDefaultStatusBar() *DefaultStatusBar { function patchName (line 154) | func patchName(p *diferenco.Patch) string { function patchStatus (line 175) | func patchStatus(p *diferenco.Patch) string { FILE: modules/patchview/styles.go constant lineNumPadding (line 11) | lineNumPadding = 1 type LineStyle (line 14) | type LineStyle struct type DiffViewStyle (line 20) | type DiffViewStyle struct type PatchViewStyle (line 31) | type PatchViewStyle struct function DefaultDarkDiffViewStyle (line 56) | func DefaultDarkDiffViewStyle() DiffViewStyle { function DefaultLightDiffViewStyle (line 108) | func DefaultLightDiffViewStyle() DiffViewStyle { function DefaultDiffViewStyle (line 161) | func DefaultDiffViewStyle() DiffViewStyle { function hasDarkBackground (line 169) | func hasDarkBackground() bool { function DefaultStyle (line 174) | func DefaultStyle() PatchViewStyle { function DefaultDarkStyle (line 182) | func DefaultDarkStyle() PatchViewStyle { function DefaultLightStyle (line 204) | func DefaultLightStyle() PatchViewStyle { function extractBgColor (line 226) | func extractBgColor(s lipgloss.Style) string { FILE: modules/patchview/view.go constant headerHeight (line 18) | headerHeight = 1 constant footerHeight (line 19) | footerHeight = 1 constant gapWidth (line 20) | gapWidth = 1 constant borderSize (line 21) | borderSize = 2 constant titleHeight (line 22) | titleHeight = 1 constant hScrollStep (line 23) | hScrollStep = 10 constant hScrollFastStep (line 24) | hScrollFastStep = 20 type PatchView (line 28) | type PatchView struct method Init (line 203) | func (pv *PatchView) Init() tea.Cmd { method Update (line 207) | func (pv *PatchView) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 311) | func (pv *PatchView) View() tea.View { method headerHeight (line 332) | func (pv *PatchView) headerHeight() int { method listPaneHeight (line 339) | func (pv *PatchView) listPaneHeight() int { method listContentHeight (line 343) | func (pv *PatchView) listContentHeight() int { method listWidth (line 347) | func (pv *PatchView) listWidth() int { method diffPaneWidth (line 351) | func (pv *PatchView) diffPaneWidth() int { method diffPaneHeight (line 355) | func (pv *PatchView) diffPaneHeight() int { method diffViewportWidth (line 359) | func (pv *PatchView) diffViewportWidth() int { method diffViewportHeight (line 363) | func (pv *PatchView) diffViewportHeight() int { method selectFile (line 369) | func (pv *PatchView) selectFile(idx int) { method setupLayout (line 387) | func (pv *PatchView) setupLayout() { method updateFileList (line 406) | func (pv *PatchView) updateFileList() { method updateFileListSelection (line 421) | func (pv *PatchView) updateFileListSelection() { method clampYOffset (line 434) | func (pv *PatchView) clampYOffset() { method jumpToNextHunk (line 439) | func (pv *PatchView) jumpToNextHunk() { method jumpToPrevHunk (line 450) | func (pv *PatchView) jumpToPrevHunk() { method renderHeader (line 463) | func (pv *PatchView) renderHeader() string { method renderFileList (line 470) | func (pv *PatchView) renderFileList() string { method renderDiffContent (line 493) | func (pv *PatchView) renderDiffContent() string { method renderFooter (line 528) | func (pv *PatchView) renderFooter() string { type patchItem (line 51) | type patchItem struct method GetItem (line 62) | func (p *patchItem) GetItem() item.Item { method render (line 66) | func (p *patchItem) render() string { function newPatchItem (line 58) | func newPatchItem(p *diferenco.Patch, selected bool, width int, style Pa... type Option (line 138) | type Option function WithStyle (line 141) | func WithStyle(style PatchViewStyle) Option { function WithListWidth (line 148) | func WithListWidth(pct int) Option { function WithStatusBar (line 155) | func WithStatusBar(sb StatusBar) Option { function Run (line 162) | func Run(patches []*diferenco.Patch, opts ...Option) error { function NewPatchView (line 173) | func NewPatchView(patches []*diferenco.Patch, opts ...Option) *PatchView { function truncatePath (line 562) | func truncatePath(path string, maxWidth int) string { FILE: modules/plumbing/error.go type noSuchObject (line 15) | type noSuchObject struct method Error (line 20) | func (e *noSuchObject) Error() string { function NoSuchObject (line 26) | func NoSuchObject(oid Hash) error { function IsNoSuchObject (line 31) | func IsNoSuchObject(e error) bool { function AsNoSuchObjectErr (line 36) | func AsNoSuchObjectErr(e error) (Hash, bool) { type ErrResourceLocked (line 43) | type ErrResourceLocked struct method Error (line 48) | func (err *ErrResourceLocked) Error() string { function IsErrResourceLocked (line 52) | func IsErrResourceLocked(err error) bool { function NewErrResourceLocked (line 57) | func NewErrResourceLocked(t string, name ReferenceName) error { type ErrRevNotFound (line 61) | type ErrRevNotFound struct method Error (line 65) | func (e *ErrRevNotFound) Error() string { return e.Reason } function NewErrRevNotFound (line 67) | func NewErrRevNotFound(format string, a ...any) error { function IsErrRevNotFound (line 71) | func IsErrRevNotFound(err error) bool { FILE: modules/plumbing/filemode/filemode.go type FileMode (line 18) | type FileMode method Origin (line 122) | func (m FileMode) Origin() FileMode { method Bytes (line 128) | func (m FileMode) Bytes() []byte { method IsMalformed (line 137) | func (m FileMode) IsMalformed() bool { method IsFragments (line 147) | func (m FileMode) IsFragments() bool { method String (line 156) | func (m FileMode) String() string { method IsRegular (line 164) | func (m FileMode) IsRegular() bool { method IsFile (line 172) | func (m FileMode) IsFile() bool { method Unmask (line 180) | func (m FileMode) Unmask() FileMode { method ToOSFileMode (line 204) | func (m FileMode) ToOSFileMode() (os.FileMode, error) { method MarshalJSON (line 225) | func (m FileMode) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 229) | func (m *FileMode) UnmarshalJSON(b []byte) error { constant Empty (line 31) | Empty FileMode = 0 constant Dir (line 33) | Dir FileMode = 0040000 constant Regular (line 36) | Regular FileMode = 0100644 constant Deprecated (line 43) | Deprecated FileMode = 0100664 constant Executable (line 45) | Executable FileMode = 0100755 constant Symlink (line 47) | Symlink FileMode = 0120000 constant Submodule (line 50) | Submodule FileMode = 0160000 constant Fragments (line 52) | Fragments FileMode = 0400000 function New (line 64) | func New(s string) (FileMode, error) { function NewFromOS (line 81) | func NewFromOS(m os.FileMode) (FileMode, error) { function isSetCharDevice (line 106) | func isSetCharDevice(m os.FileMode) bool { function isSetTemporary (line 110) | func isSetTemporary(m os.FileMode) bool { function isSetUserExecutable (line 114) | func isSetUserExecutable(m os.FileMode) bool { function isSetSymLink (line 118) | func isSetSymLink(m os.FileMode) bool { type ErrMalformedMode (line 184) | type ErrMalformedMode struct method Error (line 188) | func (e *ErrMalformedMode) Error() string { function IsErrMalformedMode (line 192) | func IsErrMalformedMode(err error) bool { FILE: modules/plumbing/filemode/filemode_test.go function TestFragments (line 12) | func TestFragments(t *testing.T) { function TestFragments2 (line 24) | func TestFragments2(t *testing.T) { function TestFileModeJSON (line 47) | func TestFileModeJSON(t *testing.T) { FILE: modules/plumbing/format/ignore/dir.go constant commentPrefix (line 14) | commentPrefix = "#" constant zetaDir (line 15) | zetaDir = ".zeta" constant gitignoreFile (line 16) | gitignoreFile = ".gitignore" constant zetaignoreFile (line 17) | zetaignoreFile = ".zetaignore" constant infoExcludeFile (line 18) | infoExcludeFile = zetaDir + "/info/exclude" function readIgnoreFile (line 22) | func readIgnoreFile(fs vfs.VFS, path []string, ignoreFile string) (ps []... function ReadPatterns (line 46) | func ReadPatterns(fs vfs.VFS, path []string) (ps []Pattern, err error) { FILE: modules/plumbing/format/ignore/ignore_test.go function TestMatch (line 9) | func TestMatch(t *testing.T) { FILE: modules/plumbing/format/ignore/matcher.go type Matcher (line 4) | type Matcher interface function NewMatcher (line 14) | func NewMatcher(ps []Pattern) Matcher { type matcher (line 18) | type matcher struct method Match (line 22) | func (m *matcher) Match(path []string, isDir bool) bool { FILE: modules/plumbing/format/ignore/pattern.go type MatchResult (line 10) | type MatchResult constant NoMatch (line 14) | NoMatch MatchResult = iota constant Exclude (line 16) | Exclude constant Include (line 18) | Include constant inclusionPrefix (line 22) | inclusionPrefix = "!" constant zeroToManyDirs (line 23) | zeroToManyDirs = "**" constant patternDirSep (line 24) | patternDirSep = "/" type Pattern (line 28) | type Pattern interface type pattern (line 33) | type pattern struct method Match (line 69) | func (p *pattern) Match(path []string, isDir bool) MatchResult { method simpleNameMatch (line 95) | func (p *pattern) simpleNameMatch(path []string, isDir bool) bool { method globMatch (line 112) | func (p *pattern) globMatch(path []string, isDir bool) bool { function ParsePattern (line 42) | func ParsePattern(p string, domain []string) Pattern { FILE: modules/plumbing/format/index/decoder.go constant entryHeaderLength (line 33) | entryHeaderLength = 62 constant entryExtended (line 34) | entryExtended = 0x4000 constant entryValid (line 35) | entryValid = 0x8000 constant nameMask (line 36) | nameMask = 0xfff constant intentToAddMask (line 37) | intentToAddMask = 1 << 13 constant skipWorkTreeMask (line 38) | skipWorkTreeMask = 1 << 14 type Decoder (line 42) | type Decoder struct method Decode (line 65) | func (d *Decoder) Decode(idx *Index) error { method readEntries (line 84) | func (d *Decoder) readEntries(idx *Index, count int) error { method readEntry (line 98) | func (d *Decoder) readEntry(idx *Index) (*Entry, error) { method readEntryName (line 151) | func (d *Decoder) readEntryName(idx *Index, e *Entry, flags uint16) er... method doReadEntryNameV4 (line 173) | func (d *Decoder) doReadEntryNameV4() (string, error) { method doReadEntryName (line 192) | func (d *Decoder) doReadEntryName(nameLen uint16) (string, error) { method padEntry (line 201) | func (d *Decoder) padEntry(idx *Index, e *Entry, read int) error { method readExtensions (line 212) | func (d *Decoder) readExtensions(idx *Index) error { method readExtension (line 245) | func (d *Decoder) readExtension(idx *Index) error { method getExtensionReader (line 292) | func (d *Decoder) getExtensionReader() (*bufio.Reader, error) { method readChecksum (line 302) | func (d *Decoder) readChecksum(expected []byte) error { function NewDecoder (line 52) | func NewDecoder(r io.Reader) *Decoder { function validateHeader (line 316) | func validateHeader(r io.Reader) (version uint32, err error) { type treeExtensionDecoder (line 338) | type treeExtensionDecoder struct method Decode (line 342) | func (d *treeExtensionDecoder) Decode(t *Tree) error { method readEntry (line 361) | func (d *treeExtensionDecoder) readEntry() (*TreeEntry, error) { type resolveUndoDecoder (line 406) | type resolveUndoDecoder struct method Decode (line 410) | func (d *resolveUndoDecoder) Decode(ru *ResolveUndo) error { method readEntry (line 425) | func (d *resolveUndoDecoder) readEntry() (*ResolveUndoEntry, error) { method readStage (line 455) | func (d *resolveUndoDecoder) readStage(e *ResolveUndoEntry, s Stage) e... type endOfIndexEntryDecoder (line 473) | type endOfIndexEntryDecoder struct method Decode (line 477) | func (d *endOfIndexEntryDecoder) Decode(e *EndOfIndexEntry) error { type unknownExtensionDecoder (line 488) | type unknownExtensionDecoder struct method Decode (line 492) | func (d *unknownExtensionDecoder) Decode() error { FILE: modules/plumbing/format/index/decoder_test.go function TestDecode (line 9) | func TestDecode(t *testing.T) { function TestDecodeSkip (line 27) | func TestDecodeSkip(t *testing.T) { function TestDecode2 (line 50) | func TestDecode2(t *testing.T) { function TestIndexGlob (line 71) | func TestIndexGlob(t *testing.T) { FILE: modules/plumbing/format/index/encoder.go constant EncodeVersionSupported (line 21) | EncodeVersionSupported uint32 = 4 type Encoder (line 31) | type Encoder struct method Encode (line 45) | func (e *Encoder) Encode(idx *Index) error { method encode (line 49) | func (e *Encoder) encode(idx *Index, footer bool) error { method encodeHeader (line 70) | func (e *Encoder) encodeHeader(idx *Index) error { method encodeEntries (line 78) | func (e *Encoder) encodeEntries(idx *Index) error { method encodeEntry (line 99) | func (e *Encoder) encodeEntry(idx *Index, entry *Entry) error { method encodeEntryName (line 162) | func (e *Encoder) encodeEntryName(entry *Entry) error { method encodeEntryNameV4 (line 166) | func (e *Encoder) encodeEntryNameV4(entry *Entry) error { method EncodeRawExtension (line 189) | func (e *Encoder) EncodeRawExtension(signature string, data []byte) er... method timeToUint32 (line 212) | func (e *Encoder) timeToUint32(t *time.Time) (uint32, uint32, error) { method padEntry (line 224) | func (e *Encoder) padEntry(idx *Index, wrote int) error { method encodeFooter (line 235) | func (e *Encoder) encodeFooter() error { function NewEncoder (line 38) | func NewEncoder(w io.Writer) *Encoder { type byName (line 239) | type byName method Len (line 241) | func (l byName) Len() int { return len(l) } method Swap (line 242) | func (l byName) Swap(i, j int) { l[i], l[j] = l[j], l[i] } method Less (line 243) | func (l byName) Less(i, j int) bool { return l[i].Name < l[j].Name } FILE: modules/plumbing/format/index/encoder_test.go function TestIndex (line 14) | func TestIndex(t *testing.T) { function TestEncodeV4 (line 31) | func TestEncodeV4(t *testing.T) { FILE: modules/plumbing/format/index/index.go type Stage (line 29) | type Stage constant Merged (line 33) | Merged Stage = 1 constant AncestorMode (line 35) | AncestorMode Stage = 1 constant OurMode (line 37) | OurMode Stage = 2 constant TheirMode (line 39) | TheirMode Stage = 3 type Index (line 45) | type Index struct method Add (line 61) | func (i *Index) Add(path string) *Entry { method Rename (line 70) | func (i *Index) Rename(source, destination string, prefix bool) error { method Entry (line 93) | func (i *Index) Entry(path string) (*Entry, error) { method Remove (line 105) | func (i *Index) Remove(path string) (*Entry, error) { method Glob (line 119) | func (i *Index) Glob(pattern string) (matches []*Entry, err error) { method String (line 136) | func (i *Index) String() string { type Entry (line 148) | type Entry struct method String (line 176) | func (e Entry) String() string { type Tree (line 191) | type Tree struct type TreeEntry (line 196) | type TreeEntry struct type ResolveUndo (line 213) | type ResolveUndo struct type ResolveUndoEntry (line 218) | type ResolveUndoEntry struct type EndOfIndexEntry (line 230) | type EndOfIndexEntry struct FILE: modules/plumbing/format/index/match.go function match (line 12) | func match(pattern, name string) (matched bool, err error) { function scanChunk (line 56) | func scanChunk(pattern string) (star bool, chunk, rest string) { function matchChunk (line 89) | func matchChunk(chunk, s string) (rest string, ok bool, err error) { function getEsc (line 165) | func getEsc(chunk string) (r rune, nchunk string, err error) { FILE: modules/plumbing/format/pktline/encoder.go type Encoder (line 13) | type Encoder struct method Flush (line 45) | func (e *Encoder) Flush() error { method Encode (line 53) | func (e *Encoder) Encode(payloads ...[]byte) error { method encodeLine (line 63) | func (e *Encoder) encodeLine(p []byte) error { method EncodeString (line 102) | func (e *Encoder) EncodeString(payloads ...string) error { method Encodef (line 115) | func (e *Encoder) Encodef(format string, a ...any) error { constant MaxPayloadSize (line 19) | MaxPayloadSize = 65516 constant OversizePayloadMax (line 22) | OversizePayloadMax = 65520 function NewEncoder (line 38) | func NewEncoder(w io.Writer) *Encoder { constant hexChar (line 81) | hexChar = "0123456789abcdef" function asciiHex16 (line 88) | func asciiHex16(n int) []byte { FILE: modules/plumbing/format/pktline/encoder_test.go function TestEncodeLen (line 9) | func TestEncodeLen(t *testing.T) { FILE: modules/plumbing/format/pktline/scanner.go constant lenSize (line 9) | lenSize = 4 type Scanner (line 25) | type Scanner struct method Err (line 40) | func (s *Scanner) Err() error { method Scan (line 49) | func (s *Scanner) Scan() bool { method Bytes (line 75) | func (s *Scanner) Bytes() []byte { method readPayloadLen (line 81) | func (s *Scanner) readPayloadLen() (int, error) { function NewScanner (line 33) | func NewScanner(r io.Reader) *Scanner { constant reverseHexTable (line 108) | reverseHexTable = "" + function hexval (line 127) | func hexval(b byte) int { function hexDecode (line 135) | func hexDecode(lenBytes [lenSize]byte) (int, error) { FILE: modules/plumbing/format/pktline/scanner_test.go function TestHexDecode (line 9) | func TestHexDecode(t *testing.T) { FILE: modules/plumbing/hash.go constant HASH_DIGEST_SIZE (line 16) | HASH_DIGEST_SIZE = 32 constant HASH_HEX_SIZE (line 17) | HASH_HEX_SIZE = 64 constant reverseHexTable (line 18) | reverseHexTable = "" + constant BLANK_BLOB (line 38) | BLANK_BLOB = "af1349b9f5f9a1a6a0404dea36dcc9499bcb25c9adc112b7cc9a93cae4... constant BLANK_TREE (line 39) | BLANK_TREE = "e448b21e70d321c1ee07c7b3ca6effa275aee59cdba662afb7152182a3... constant ZERO_OID (line 40) | ZERO_OID = "0000000000000000000000000000000000000000000000000000000000... type Hash (line 44) | type Hash method MarshalJSON (line 46) | func (h Hash) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 50) | func (h *Hash) UnmarshalJSON(b []byte) error { method MarshalText (line 61) | func (h Hash) MarshalText() ([]byte, error) { method UnmarshalText (line 65) | func (h *Hash) UnmarshalText(text []byte) error { method IsZero (line 90) | func (h Hash) IsZero() bool { method String (line 94) | func (h Hash) String() string { method Shorten (line 98) | func (h Hash) Shorten() int { method Prefix (line 108) | func (h Hash) Prefix() string { function NewHash (line 81) | func NewHash(s string) Hash { function HashesSort (line 113) | func HashesSort(a []Hash) { type HashSlice (line 119) | type HashSlice method Len (line 121) | func (p HashSlice) Len() int { return len(p) } method Less (line 122) | func (p HashSlice) Less(i, j int) bool { return bytes.Compare(p[i][:],... method Swap (line 123) | func (p HashSlice) Swap(i, j int) { p[i], p[j] = p[j], p[i] } function ValidateHashHex (line 126) | func ValidateHashHex(s string) bool { function NewHashEx (line 139) | func NewHashEx(s string) (Hash, error) { function IsLooseDir (line 146) | func IsLooseDir(s string) bool { type Hasher (line 159) | type Hasher struct method Sum (line 167) | func (h Hasher) Sum() (hash Hash) { function NewHasher (line 163) | func NewHasher() Hasher { FILE: modules/plumbing/reference.go constant ReferencePrefix (line 10) | ReferencePrefix = "refs/" constant refHeadPrefix (line 11) | refHeadPrefix = ReferencePrefix + "heads/" constant refTagPrefix (line 12) | refTagPrefix = ReferencePrefix + "tags/" constant refRemotePrefix (line 13) | refRemotePrefix = ReferencePrefix + "remotes/" constant symrefPrefix (line 14) | symrefPrefix = "ref: " constant Origin (line 18) | Origin = "origin" constant RefRevParseRulesCount (line 22) | RefRevParseRulesCount = 6 type ReferenceType (line 42) | type ReferenceType method String (line 50) | func (r ReferenceType) String() string { constant InvalidReference (line 45) | InvalidReference ReferenceType = 0 constant HashReference (line 46) | HashReference ReferenceType = 1 constant SymbolicReference (line 47) | SymbolicReference ReferenceType = 2 type ReferenceName (line 64) | type ReferenceName method HasReferencePrefix (line 90) | func (r ReferenceName) HasReferencePrefix() bool { method IsBranch (line 95) | func (r ReferenceName) IsBranch() bool { method BranchName (line 99) | func (r ReferenceName) BranchName() string { method IsRemote (line 104) | func (r ReferenceName) IsRemote() bool { method IsTag (line 109) | func (r ReferenceName) IsTag() bool { method TagName (line 113) | func (r ReferenceName) TagName() string { method String (line 117) | func (r ReferenceName) String() string { method Short (line 124) | func (r ReferenceName) Short() string { method Prefix (line 138) | func (r ReferenceName) Prefix() string { function NewBranchReferenceName (line 68) | func NewBranchReferenceName(name string) ReferenceName { function NewRemoteReferenceName (line 74) | func NewRemoteReferenceName(remote, name string) ReferenceName { function NewRemoteHEADReferenceName (line 80) | func NewRemoteHEADReferenceName(remote string) ReferenceName { function NewTagReferenceName (line 86) | func NewTagReferenceName(name string) ReferenceName { constant HEAD (line 152) | HEAD ReferenceName = "HEAD" constant Mainline (line 153) | Mainline ReferenceName = "refs/heads/mainline" type Reference (line 157) | type Reference struct method Type (line 197) | func (r *Reference) Type() ReferenceType { method Name (line 202) | func (r *Reference) Name() ReferenceName { method Hash (line 207) | func (r *Reference) Hash() Hash { method Target (line 212) | func (r *Reference) Target() ReferenceName { method Strings (line 217) | func (r *Reference) Strings() [2]string { method String (line 231) | func (r *Reference) String() string { function NewReferenceFromStrings (line 167) | func NewReferenceFromStrings(name, target string) *Reference { function NewSymbolicReference (line 179) | func NewSymbolicReference(n, target ReferenceName) *Reference { function NewHashReference (line 188) | func NewHashReference(n ReferenceName, h Hash) *Reference { type ReferenceSlice (line 251) | type ReferenceSlice method Len (line 253) | func (p ReferenceSlice) Len() int { return len(p) } method Less (line 254) | func (p ReferenceSlice) Less(i, j int) bool { return p[i].Name() < p[j... method Swap (line 255) | func (p ReferenceSlice) Swap(i, j int) { p[i], p[j] = p[j], p[i] } FILE: modules/plumbing/validate.go type ErrBadReferenceName (line 9) | type ErrBadReferenceName struct method Error (line 13) | func (err ErrBadReferenceName) Error() string { function IsErrBadReferenceName (line 17) | func IsErrBadReferenceName(err error) bool { function checkReferenceNameComponent (line 50) | func checkReferenceNameComponent(refname []byte) int { function ValidateReferenceName (line 107) | func ValidateReferenceName(refname []byte) bool { function ValidateBranchName (line 126) | func ValidateBranchName(branch []byte) bool { function ValidateTagName (line 134) | func ValidateTagName(tag []byte) bool { FILE: modules/progressbar/colorstring/colorstring.go function Color (line 27) | func Color(v string) string { function ColorPrefix (line 36) | func ColorPrefix(v string) string { type Colorize (line 46) | type Colorize struct method Color (line 66) | func (c *Colorize) Color(v string) string { method ColorPrefix (line 108) | func (c *Colorize) ColorPrefix(v string) string { function init (line 118) | func init() { function Print (line 191) | func Print(a string) (n int, err error) { function Println (line 202) | func Println(a string) (n int, err error) { function Printf (line 211) | func Printf(format string, a ...any) (n int, err error) { function Fprint (line 221) | func Fprint(w io.Writer, a string) (n int, err error) { function Fprintln (line 232) | func Fprintln(w io.Writer, a string) (n int, err error) { function Fprintf (line 242) | func Fprintf(w io.Writer, format string, a ...any) (n int, err error) { FILE: modules/progressbar/progressbar.go type ProgressBar (line 21) | type ProgressBar struct method String (line 585) | func (p *ProgressBar) String() string { method RenderBlank (line 590) | func (p *ProgressBar) RenderBlank() error { method StartWithoutRender (line 608) | func (p *ProgressBar) StartWithoutRender() { method Reset (line 623) | func (p *ProgressBar) Reset() { method Finish (line 631) | func (p *ProgressBar) Finish() error { method Exit (line 642) | func (p *ProgressBar) Exit() error { method Add (line 654) | func (p *ProgressBar) Add(num int) error { method Set (line 659) | func (p *ProgressBar) Set(num int) error { method Set64 (line 664) | func (p *ProgressBar) Set64(num int64) error { method Add64 (line 672) | func (p *ProgressBar) Add64(num int64) error { method AddDetail (line 736) | func (p *ProgressBar) AddDetail(detail string) error { method renderDetails (line 764) | func (p *ProgressBar) renderDetails() error { method Clear (line 796) | func (p *ProgressBar) Clear() error { method Describe (line 802) | func (p *ProgressBar) Describe(description string) { method GetMax (line 819) | func (p *ProgressBar) GetMax() int { method GetMax64 (line 827) | func (p *ProgressBar) GetMax64() int64 { method ChangeMax (line 837) | func (p *ProgressBar) ChangeMax(newMax int) { method ChangeMax64 (line 845) | func (p *ProgressBar) ChangeMax64(newMax int64) { method AddMax (line 868) | func (p *ProgressBar) AddMax(added int) { method AddMax64 (line 876) | func (p *ProgressBar) AddMax64(added int64) { method IsFinished (line 897) | func (p *ProgressBar) IsFinished() bool { method IsStarted (line 905) | func (p *ProgressBar) IsStarted() bool { method render (line 912) | func (p *ProgressBar) render() error { method lengthUnknown (line 976) | func (p *ProgressBar) lengthUnknown() { method lengthKnown (line 983) | func (p *ProgressBar) lengthKnown(maxVal int64) { method State (line 990) | func (p *ProgressBar) State() State { method Write (line 1463) | func (p *ProgressBar) Write(b []byte) (n int, err error) { method Read (line 1470) | func (p *ProgressBar) Read(b []byte) (n int, err error) { method Close (line 1476) | func (p *ProgressBar) Close() (err error) { type State (line 28) | type State struct type state (line 39) | type state struct type config (line 64) | type config struct type Theme (line 143) | type Theme struct type Option (line 191) | type Option function OptionSetWidth (line 194) | func OptionSetWidth(s int) Option { function OptionSetSpinnerChangeInterval (line 206) | func OptionSetSpinnerChangeInterval(interval time.Duration) Option { function OptionSpinnerType (line 213) | func OptionSpinnerType(spinnerType int) Option { function OptionSpinnerCustom (line 222) | func OptionSpinnerCustom(spinner []string) Option { function OptionSetTheme (line 230) | func OptionSetTheme(t Theme) Option { function OptionSetVisibility (line 237) | func OptionSetVisibility(visibility bool) Option { function OptionFullWidth (line 244) | func OptionFullWidth() Option { function OptionSetWriter (line 251) | func OptionSetWriter(w io.Writer) Option { function OptionSetRenderBlankState (line 258) | func OptionSetRenderBlankState(r bool) Option { function OptionSetDescription (line 265) | func OptionSetDescription(description string) Option { function OptionEnableColorCodes (line 273) | func OptionEnableColorCodes(colorCodes bool) Option { function OptionSetElapsedTime (line 280) | func OptionSetElapsedTime(elapsedTime bool) Option { function OptionSetPredictTime (line 287) | func OptionSetPredictTime(predictTime bool) Option { function OptionShowCount (line 294) | func OptionShowCount() Option { function OptionShowIts (line 301) | func OptionShowIts() Option { function OptionShowElapsedTimeOnFinish (line 308) | func OptionShowElapsedTimeOnFinish() Option { function OptionShowTotalBytes (line 315) | func OptionShowTotalBytes(flag bool) Option { function OptionSetItsString (line 322) | func OptionSetItsString(iterationString string) Option { function OptionThrottle (line 330) | func OptionThrottle(duration time.Duration) Option { function OptionClearOnFinish (line 337) | func OptionClearOnFinish() Option { function OptionOnCompletion (line 344) | func OptionOnCompletion(cmpl func()) Option { function OptionShowBytes (line 352) | func OptionShowBytes(val bool) Option { function OptionUseANSICodes (line 361) | func OptionUseANSICodes(val bool) Option { function OptionUseIECUnits (line 369) | func OptionUseIECUnits(val bool) Option { function OptionShowDescriptionAtLineEnd (line 376) | func OptionShowDescriptionAtLineEnd() Option { function OptionSetMaxDetailRow (line 384) | func OptionSetMaxDetailRow(row int) Option { function OptionSeekTo (line 391) | func OptionSeekTo(offset int64) Option { function NewOptions (line 398) | func NewOptions(maxVal int, options ...Option) *ProgressBar { function NewOptions64 (line 403) | func NewOptions64(maxVal int64, options ...Option) *ProgressBar { function getBasicState (line 471) | func getBasicState() state { function New (line 482) | func New(maxVal int) *ProgressBar { function DefaultBytes (line 489) | func DefaultBytes(maxBytes int64, description ...string) *ProgressBar { function DefaultBytesSilent (line 514) | func DefaultBytesSilent(maxBytes int64, description ...string) *Progress... function Default (line 537) | func Default(maxVal int64, description ...string) *ProgressBar { function DefaultSilent (line 562) | func DefaultSilent(maxVal int64, description ...string) *ProgressBar { function New64 (line 814) | func New64(maxVal int64) *ProgressBar { function getStringWidth (line 1016) | func getStringWidth(c config, str string) int { function renderProgressBar (line 1031) | func renderProgressBar(c config, s *state) (int, error) { function calculateAverageRate (line 1059) | func calculateAverageRate(s *state) float64 { function buildStatsString (line 1072) | func buildStatsString(c config, s *state, averageRate float64) string { function appendIterationCount (line 1086) | func appendIterationCount(sb *strings.Builder, c config, s *state) { function appendSeparator (line 1101) | func appendSeparator(sb *strings.Builder) { function appendIterationCountWithTotal (line 1110) | func appendIterationCountWithTotal(sb *strings.Builder, c config, s *sta... function appendBytesCountWithTotal (line 1119) | func appendBytesCountWithTotal(sb *strings.Builder, c config, s *state) { function appendSameUnitBytesCount (line 1133) | func appendSameUnitBytesCount(sb *strings.Builder, c config, currentHuma... function appendDifferentUnitBytesCount (line 1142) | func appendDifferentUnitBytesCount(sb *strings.Builder, c config, curren... function appendNumericCountWithTotal (line 1151) | func appendNumericCountWithTotal(sb *strings.Builder, c config, s *state) { function appendIterationCountWithoutTotal (line 1160) | func appendIterationCountWithoutTotal(sb *strings.Builder, c config, s *... function appendByteRate (line 1172) | func appendByteRate(sb *strings.Builder, c config, averageRate float64) { function appendIterationsRate (line 1183) | func appendIterationsRate(sb *strings.Builder, c config, averageRate flo... function calculateTimeBrackets (line 1201) | func calculateTimeBrackets(c config, s *state, averageRate float64) (str... function calculateBarWidth (line 1220) | func calculateBarWidth(c config, s *state, statsStr, leftBrac, rightBrac... function calculateAmend (line 1241) | func calculateAmend(leftBrac, rightBrac string, showDescriptionAtLineEnd... function calculateBarElements (line 1258) | func calculateBarElements(c config, s *state) (string, string, string, s... function calculateSaucer (line 1273) | func calculateSaucer(c config, s *state) (string, string) { function calculateSaucerBody (line 1284) | func calculateSaucerBody(c config, s *state) string { function calculateSaucerHead (line 1292) | func calculateSaucerHead(c config, s *state) string { function buildProgressBarString (line 1308) | func buildProgressBarString(c config, s *state, statsStr, leftBrac, righ... function buildSpinnerString (line 1321) | func buildSpinnerString(c config, s *state, statsStr, leftBrac string) s... function getSpinnerChar (line 1343) | func getSpinnerChar(c config, s *state, selectedSpinner []string) string { function buildProgressBarWithoutTimePredict (line 1355) | func buildProgressBarWithoutTimePredict(c config, s *state, statsStr, le... function buildProgressBarWithTimePredict (line 1368) | func buildProgressBarWithTimePredict(c config, s *state, statsStr, leftB... function buildFinishedProgressBar (line 1380) | func buildFinishedProgressBar(c config, s *state, statsStr, leftBrac, ba... function addDescription (line 1393) | func addDescription(c config, str string) string { function clearProgressBar (line 1400) | func clearProgressBar(c config, s state) error { function writeString (line 1417) | func writeString(c config, str string) error { type Reader (line 1433) | type Reader struct method Read (line 1447) | func (r *Reader) Read(p []byte) (n int, err error) { method Close (line 1454) | func (r *Reader) Close() (err error) { function NewReader (line 1439) | func NewReader(r io.Reader, bar *ProgressBar) Reader { function average (line 1481) | func average(xs []float64) float64 { function humanizeBytes (line 1489) | func humanizeBytes(s float64, iec bool) (string, string) { function logn (line 1512) | func logn(n, b float64) float64 { function shouldCacheOutput (line 1527) | func shouldCacheOutput(pb *ProgressBar) bool { function Bprintln (line 1531) | func Bprintln(pb *ProgressBar, a ...any) (int, error) { function Bprintf (line 1540) | func Bprintf(pb *ProgressBar, format string, a ...any) (int, error) { FILE: modules/securejoin/join.go function IsNotExist (line 25) | func IsNotExist(err error) bool { function SecureJoinVFS (line 47) | func SecureJoinVFS(root, unsafePath string, vfs VFS) (string, error) { function SecureJoin (line 123) | func SecureJoin(root, unsafePath string) (string, error) { FILE: modules/securejoin/vfs.go type VFS (line 17) | type VFS interface type osVFS (line 31) | type osVFS struct method Lstat (line 37) | func (o osVFS) Lstat(name string) (os.FileInfo, error) { return os.Lst... method Readlink (line 41) | func (o osVFS) Readlink(name string) (string, error) { return os.Readl... FILE: modules/shlex/shlex.go type Tokenizer (line 19) | type Tokenizer interface type DefaultTokenizer (line 28) | type DefaultTokenizer struct method IsWord (line 30) | func (t *DefaultTokenizer) IsWord(r rune) bool { method IsQuote (line 33) | func (t *DefaultTokenizer) IsQuote(r rune) bool { method IsWhitespace (line 41) | func (t *DefaultTokenizer) IsWhitespace(r rune) bool { method IsEscape (line 44) | func (t *DefaultTokenizer) IsEscape(r rune) bool { method IsEscapedQuote (line 47) | func (t *DefaultTokenizer) IsEscapedQuote(r rune) bool { type Lexer (line 52) | type Lexer struct method SetTokenizer (line 84) | func (l *Lexer) SetTokenizer(t Tokenizer) { method Split (line 88) | func (l *Lexer) Split() ([]string, error) { method readToken (line 105) | func (l *Lexer) readToken() (string, error) { function NewLexer (line 62) | func NewLexer(r io.Reader, posix, whitespacesplit bool) *Lexer { function NewLexerString (line 74) | func NewLexerString(s string, posix, whitespacesplit bool) *Lexer { function Split (line 79) | func Split(s string, posix bool) ([]string, error) { FILE: modules/streamio/bytes.go function GetByteSlice (line 28) | func GetByteSlice() *[]byte { function PutByteSlice (line 34) | func PutByteSlice(buf *[]byte) { function GetBytesBuffer (line 43) | func GetBytesBuffer() *bytes.Buffer { function PutBytesBuffer (line 50) | func PutBytesBuffer(buf *bytes.Buffer) { function Copy (line 55) | func Copy(dst io.Writer, src io.Reader) (written int64, err error) { FILE: modules/streamio/io.go function ReadMax (line 8) | func ReadMax(r io.Reader, n int64) ([]byte, error) { function GrowReadMax (line 17) | func GrowReadMax(r io.Reader, n int64, grow int) ([]byte, error) { FILE: modules/streamio/io_test.go function TestReadMax (line 10) | func TestReadMax(t *testing.T) { function TestGrowReadMax (line 20) | func TestGrowReadMax(t *testing.T) { FILE: modules/streamio/sync.go function GetBufioReader (line 20) | func GetBufioReader(reader io.Reader) *bufio.Reader { function PutBufioReader (line 27) | func PutBufioReader(reader *bufio.Reader) { constant largePacketSize (line 32) | largePacketSize = 64 * 1024 function GetBufferWriter (line 46) | func GetBufferWriter(writer io.Writer) *bufio.Writer { function PutBufferWriter (line 53) | func PutBufferWriter(writer *bufio.Writer) { function LargeCopy (line 57) | func LargeCopy(dst io.Writer, src io.Reader) (written int64, err error) { FILE: modules/streamio/zlib.go type zlibReadCloser (line 27) | type zlibReadCloser interface type ZLibReader (line 32) | type ZLibReader struct function GetZlibReader (line 43) | func GetZlibReader(r io.Reader) (*ZLibReader, error) { function PutZlibReader (line 54) | func PutZlibReader(z *ZLibReader) { function GetZlibWriter (line 65) | func GetZlibWriter(w io.Writer) *zlib.Writer { function PutZlibWriter (line 72) | func PutZlibWriter(w *zlib.Writer) { FILE: modules/streamio/zlib_test.go function TestZlibEncode (line 12) | func TestZlibEncode(t *testing.T) { function TestZlibDecode (line 42) | func TestZlibDecode(t *testing.T) { function TestZlibEncodeDecode (line 78) | func TestZlibEncodeDecode(t *testing.T) { function TestZlibInvalidData (line 123) | func TestZlibInvalidData(t *testing.T) { function TestZlibConcurrent (line 132) | func TestZlibConcurrent(t *testing.T) { function TestZlibEmptyInput (line 167) | func TestZlibEmptyInput(t *testing.T) { function TestZlibMultipleWrite (line 198) | func TestZlibMultipleWrite(t *testing.T) { function TestZlibPoolReuse (line 235) | func TestZlibPoolReuse(t *testing.T) { FILE: modules/streamio/zstd.go type ZstdDecoder (line 29) | type ZstdDecoder struct function GetZstdReader (line 39) | func GetZstdReader(r io.Reader) (*ZstdDecoder, error) { function PutZstdReader (line 49) | func PutZstdReader(z *ZstdDecoder) { type ZstdEncoder (line 53) | type ZstdEncoder struct function GetZstdWriter (line 62) | func GetZstdWriter(w io.Writer) *ZstdEncoder { function PutZstdWriter (line 69) | func PutZstdWriter(w *ZstdEncoder) { FILE: modules/streamio/zstd_test.go function TestZstdEncode (line 12) | func TestZstdEncode(t *testing.T) { function TestZstdDecode (line 42) | func TestZstdDecode(t *testing.T) { FILE: modules/strengthen/du.go constant SystemBlockSize (line 15) | SystemBlockSize int64 = 512 type duWalker (line 18) | type duWalker struct method unixStat (line 32) | func (d *duWalker) unixStat(p string) error { method du (line 48) | func (d *duWalker) du(path string) error { function isReg (line 24) | func isReg(si *unix.Stat_t) bool { function isDir (line 28) | func isDir(si *unix.Stat_t) bool { function Du (line 70) | func Du(path string) (int64, error) { FILE: modules/strengthen/du_test.go function TestDu (line 12) | func TestDu(t *testing.T) { FILE: modules/strengthen/du_windows.go function Du (line 10) | func Du(path string) (int64, error) { FILE: modules/strengthen/duration.go function ParseDuration (line 47) | func ParseDuration(s string) (time.Duration, error) { function quote (line 146) | func quote(s string) string { function leadingInt (line 153) | func leadingInt[bytes []byte | string](s bytes) (x uint64, rem bytes, er... function leadingFraction (line 176) | func leadingFraction(s string) (x uint64, scale float64, rem string) { FILE: modules/strengthen/duration_test.go function TestDurationByte (line 9) | func TestDurationByte(t *testing.T) { function TestParseDuration (line 17) | func TestParseDuration(t *testing.T) { FILE: modules/strengthen/formatsize.go constant sizeByteBase (line 26) | sizeByteBase = 1024.0 function getSizeAndUnit (line 33) | func getSizeAndUnit(size float64) (float64, string) { function formatBytes (line 43) | func formatBytes(size float64) string { function FormatSize (line 48) | func FormatSize(s int64) string { function FormatSizeU (line 52) | func FormatSizeU(s uint64) string { FILE: modules/strengthen/fs_unix.go function FinalizeObject (line 9) | func FinalizeObject(oldpath string, newpath string) (err error) { FILE: modules/strengthen/fs_windows.go type FILE_BASIC_INFO (line 16) | type FILE_BASIC_INFO struct type FILE_DISPOSITION_INFO (line 35) | type FILE_DISPOSITION_INFO struct type FILE_DISPOSITION_INFO_EX (line 39) | type FILE_DISPOSITION_INFO_EX struct type FILE_RENAME_INFO (line 43) | type FILE_RENAME_INFO struct function posixSemanticsRename (line 58) | func posixSemanticsRename(oldpath, newpath string) error { function rename (line 89) | func rename(oldpath, newpath string) error { function removeHideAttributes (line 97) | func removeHideAttributes(fd windows.Handle) error { function posixSemanticsRemove (line 106) | func posixSemanticsRemove(fd windows.Handle) error { function Remove (line 140) | func Remove(name string) error { constant ERROR_ACCESS_DENIED (line 167) | ERROR_ACCESS_DENIED syscall.Errno = 5 constant ERROR_SHARING_VIOLATION (line 168) | ERROR_SHARING_VIOLATION syscall.Errno = 32 constant ERROR_LOCK_VIOLATION (line 169) | ERROR_LOCK_VIOLATION syscall.Errno = 33 function isRetryErr (line 172) | func isRetryErr(err error) bool { function windowsLink (line 190) | func windowsLink(oldpath, newpath string) (err error) { function FinalizeObject (line 206) | func FinalizeObject(oldpath string, newpath string) (err error) { FILE: modules/strengthen/limitwriter.go type LimitWriter (line 7) | type LimitWriter struct method Write (line 20) | func (w *LimitWriter) Write(p []byte) (int, error) { function NewLimitWriter (line 13) | func NewLimitWriter(dst io.Writer, limit int) *LimitWriter { FILE: modules/strengthen/measure.go type Measurer (line 10) | type Measurer struct method Close (line 36) | func (d *Measurer) Close() { function NewMeasurer (line 14) | func NewMeasurer(name string, debugMode bool) *Measurer { FILE: modules/strengthen/net.go function parseCidr (line 16) | func parseCidr(network string, comment string) *net.IPNet { function LookupExternalAddr (line 142) | func LookupExternalAddr(ctx context.Context, host string) (bool, error) { function ExternalAddr (line 163) | func ExternalAddr() ([]string, error) { FILE: modules/strengthen/os_unix.go function ResolveSymbolicLink (line 27) | func ResolveSymbolicLink(path string) (string, error) { FILE: modules/strengthen/os_windows.go function openPath (line 40) | func openPath(path string) (windows.Handle, error) { constant cFILE_NAME_OPENED (line 67) | cFILE_NAME_OPENED = 0x8 constant cVOLUME_NAME_DOS (line 69) | cVOLUME_NAME_DOS = 0x0 constant cVOLUME_NAME_GUID (line 70) | cVOLUME_NAME_GUID = 0x1 function getFinalPathNameByHandle (line 85) | func getFinalPathNameByHandle(h windows.Handle, flags uint32) (string, e... function resolvePath (line 109) | func resolvePath(path string) (string, error) { function ResolveSymbolicLink (line 179) | func ResolveSymbolicLink(path string) (string, error) { FILE: modules/strengthen/path.go function ExpandPath (line 21) | func ExpandPath(path string) string { function splitPathInternal (line 50) | func splitPathInternal(p string) []string { function SplitPath (line 69) | func SplitPath(p string) []string { FILE: modules/strengthen/path_test.go function TestExpandPath (line 10) | func TestExpandPath(t *testing.T) { FILE: modules/strengthen/rid.go type RID (line 17) | type RID method String (line 47) | func (rid RID) String() string { type Token (line 18) | type Token function NewRandom (line 29) | func NewRandom() (RID, error) { function NewRandomFromReader (line 34) | func NewRandomFromReader(r io.Reader) (RID, error) { function encodeHex (line 53) | func encodeHex(dst []byte, rid RID) { function NewRID (line 66) | func NewRID() string { function NewToken (line 71) | func NewToken() string { function NewRandomString (line 80) | func NewRandomString(length int) string { constant DateOnly (line 87) | DateOnly = "20060102" function NewSessionID (line 90) | func NewSessionID() string { FILE: modules/strengthen/rid_test.go function TestNewRID (line 9) | func TestNewRID(t *testing.T) { function TestNewToken (line 14) | func TestNewToken(t *testing.T) { FILE: modules/strengthen/statfs.go type DiskFreeSpace (line 3) | type DiskFreeSpace struct constant UnknownFS (line 11) | UnknownFS = "unknown" FILE: modules/strengthen/statfs_linux.go constant FilesystemSuperMagicTmpfs (line 8) | FilesystemSuperMagicTmpfs = 0x01021994 constant FilesystemSuperMagicExt4 (line 9) | FilesystemSuperMagicExt4 = 0xEF53 constant FilesystemSuperMagicXfs (line 10) | FilesystemSuperMagicXfs = 0x58465342 constant FilesystemSuperMagicNfs (line 11) | FilesystemSuperMagicNfs = 0x6969 constant FilesystemSuperMagicZfs (line 12) | FilesystemSuperMagicZfs = 0x2fc12fc1 constant FilesystemSuperMagicBtrfs (line 15) | FilesystemSuperMagicBtrfs = 0x9123683E constant FilesystemSuperMagicCGroup (line 16) | FilesystemSuperMagicCGroup = 0x27e0eb constant FilesystemSuperMagicCGroup2 (line 17) | FilesystemSuperMagicCGroup2 = 0x63677270 constant FilesystemSuperMagicNTFS (line 18) | FilesystemSuperMagicNTFS = 0x5346544e constant FilesystemSuperMagicEXFAT (line 19) | FilesystemSuperMagicEXFAT = 0x2011BAB0 constant FilesystemSuperMagicCEPH (line 20) | FilesystemSuperMagicCEPH = 0x00c36400 constant FilesystemSuperMagicOverlayFS (line 21) | FilesystemSuperMagicOverlayFS = 0x794c7630 constant FilesystemSuperMagicAPFS (line 23) | FilesystemSuperMagicAPFS = 0x42535041 function detectFileSystem (line 142) | func detectFileSystem(stat *unix.Statfs_t) string { function GetDiskFreeSpaceEx (line 153) | func GetDiskFreeSpaceEx(mountPath string) (*DiskFreeSpace, error) { FILE: modules/strengthen/statfs_openbsd.go function detectFileSystem (line 7) | func detectFileSystem(stat *unix.Statfs_t) string { function GetDiskFreeSpaceEx (line 23) | func GetDiskFreeSpaceEx(mountPath string) (*DiskFreeSpace, error) { FILE: modules/strengthen/statfs_test.go function TestGetDiskFreeSpaceEx (line 9) | func TestGetDiskFreeSpaceEx(t *testing.T) { function TestGetDiskFreeSpaceExTemp (line 24) | func TestGetDiskFreeSpaceExTemp(t *testing.T) { FILE: modules/strengthen/statfs_unix.go function detectFileSystem (line 7) | func detectFileSystem(stat *unix.Statfs_t) string { function GetDiskFreeSpaceEx (line 23) | func GetDiskFreeSpaceEx(mountPath string) (*DiskFreeSpace, error) { FILE: modules/strengthen/statfs_windows.go constant pathLength (line 12) | pathLength = windows.MAX_PATH + 1 function GetDiskFreeSpaceEx (line 15) | func GetDiskFreeSpaceEx(mountPath string) (*DiskFreeSpace, error) { FILE: modules/strengthen/strings.go function StrSplitSkipEmpty (line 11) | func StrSplitSkipEmpty(s string, sep byte, capacity int) []string { function StrCat (line 32) | func StrCat(sv ...string) string { function ByteCat (line 48) | func ByteCat(sv ...[]byte) string { function BufferCat (line 62) | func BufferCat(sv ...string) []byte { function ErrorCat (line 76) | func ErrorCat(sv ...string) error { function SimpleAtob (line 80) | func SimpleAtob(s string, dv bool) bool { constant Byte (line 91) | Byte = 1 << (iota * 10) constant KiByte (line 92) | KiByte constant MiByte (line 93) | MiByte constant GiByte (line 94) | GiByte constant TiByte (line 95) | TiByte constant PiByte (line 96) | PiByte constant EiByte (line 97) | EiByte function ParseSize (line 115) | func ParseSize(text string) (int64, error) { FILE: modules/symlink/fs.go function FollowSymlinkInScope (line 51) | func FollowSymlinkInScope(path, root string) (string, error) { function evalSymlinksInScope (line 66) | func evalSymlinksInScope(path, root string) (string, error) { function EvalSymlinks (line 162) | func EvalSymlinks(path string) (string, error) { FILE: modules/symlink/fs_unix.go function evalSymlinks (line 9) | func evalSymlinks(path string) (string, error) { function isDriveOrRoot (line 13) | func isDriveOrRoot(p string) bool { FILE: modules/symlink/fs_windows.go function toShort (line 25) | func toShort(path string) (string, error) { function toLong (line 44) | func toLong(path string) (string, error) { function evalSymlinks (line 65) | func evalSymlinks(path string) (string, error) { constant utf8RuneSelf (line 92) | utf8RuneSelf = 0x80 constant longPathPrefix (line 93) | longPathPrefix = `\\?\` function walkSymlinks (line 96) | func walkSymlinks(path string) (string, error) { function isDriveOrRoot (line 171) | func isDriveOrRoot(p string) bool { function isAbs (line 192) | func isAbs(path string) bool { FILE: modules/systemproxy/dialer.go function newDialer (line 9) | func newDialer(proxyURL *url.URL, forward *net.Dialer, noProxy string) D... function newDialerForHosts (line 19) | func newDialerForHosts(proxyURL *url.URL, forward *net.Dialer, hosts []s... FILE: modules/systemproxy/env.go function getEnvAny (line 9) | func getEnvAny(names ...string) string { FILE: modules/systemproxy/http.go type coordDialer (line 14) | type coordDialer struct method DialContext (line 19) | func (d *coordDialer) DialContext(ctx context.Context, network string,... function DialServerViaCONNECT (line 24) | func DialServerViaCONNECT(ctx context.Context, addr string, proxy *url.U... FILE: modules/systemproxy/http_test.go function TestDialGithub (line 13) | func TestDialGithub(t *testing.T) { FILE: modules/systemproxy/internal/socks/client.go method connect (line 22) | func (d *Dialer) connect(ctx context.Context, c net.Conn, address string... function splitHostPort (line 156) | func splitHostPort(address string) (string, int, error) { FILE: modules/systemproxy/internal/socks/socks.go type Command (line 21) | type Command method String (line 23) | func (cmd Command) String() string { type AuthMethod (line 35) | type AuthMethod type Reply (line 38) | type Reply method String (line 40) | func (code Reply) String() string { constant Version5 (line 67) | Version5 = 0x05 constant AddrTypeIPv4 (line 69) | AddrTypeIPv4 = 0x01 constant AddrTypeFQDN (line 70) | AddrTypeFQDN = 0x03 constant AddrTypeIPv6 (line 71) | AddrTypeIPv6 = 0x04 constant CmdConnect (line 73) | CmdConnect Command = 0x01 constant cmdBind (line 74) | cmdBind Command = 0x02 constant AuthMethodNotRequired (line 76) | AuthMethodNotRequired AuthMethod = 0x00 constant AuthMethodUsernamePassword (line 77) | AuthMethodUsernamePassword AuthMethod = 0x02 constant AuthMethodNoAcceptableMethods (line 78) | AuthMethodNoAcceptableMethods AuthMethod = 0xff constant StatusSucceeded (line 80) | StatusSucceeded Reply = 0x00 type Addr (line 85) | type Addr struct method Network (line 91) | func (a *Addr) Network() string { return "socks" } method String (line 93) | func (a *Addr) String() string { type Conn (line 105) | type Conn struct method BoundAddr (line 113) | func (c *Conn) BoundAddr() net.Addr { type Dialer (line 121) | type Dialer struct method DialContext (line 151) | func (d *Dialer) DialContext(ctx context.Context, network, address str... method DialWithConn (line 187) | func (d *Dialer) DialWithConn(ctx context.Context, c net.Conn, network... method Dial (line 210) | func (d *Dialer) Dial(network, address string) (net.Conn, error) { method validateTarget (line 233) | func (d *Dialer) validateTarget(network, _ string) error { method pathAddrs (line 247) | func (d *Dialer) pathAddrs(address string) (proxy, dst net.Addr, err e... function NewDialer (line 269) | func NewDialer(network, address string) *Dialer { constant authUsernamePasswordVersion (line 274) | authUsernamePasswordVersion = 0x01 constant authStatusSucceeded (line 275) | authStatusSucceeded = 0x00 type UsernamePassword (line 280) | type UsernamePassword struct method Authenticate (line 287) | func (up *UsernamePassword) Authenticate(ctx context.Context, rw io.Re... FILE: modules/systemproxy/pre_host.go type PerHost (line 16) | type PerHost struct method DialContext (line 38) | func (p *PerHost) DialContext(ctx context.Context, network, addr strin... method dialerForRequest (line 56) | func (p *PerHost) dialerForRequest(host string) Dialer { method AddFromString (line 99) | func (p *PerHost) AddFromString(s string) { method AddIP (line 127) | func (p *PerHost) AddIP(ip net.IP) { method AddNetwork (line 134) | func (p *PerHost) AddNetwork(net *net.IPNet) { method AddZone (line 140) | func (p *PerHost) AddZone(zone string) { method AddHost (line 150) | func (p *PerHost) AddHost(host string) { method SetBypassSimpleHostnames (line 159) | func (p *PerHost) SetBypassSimpleHostnames(bypass bool) { function NewPerHost (line 29) | func NewPerHost(defaultDialer, bypass Dialer) *PerHost { function normalizeHost (line 50) | func normalizeHost(host string) string { FILE: modules/systemproxy/pre_host_test.go function TestNormalizeHost (line 13) | func TestNormalizeHost(t *testing.T) { type testDialer (line 40) | type testDialer struct method DialContext (line 44) | func (d *testDialer) DialContext(ctx context.Context, network, address... function TestPerHostAddZoneCaseInsensitive (line 48) | func TestPerHostAddZoneCaseInsensitive(t *testing.T) { function TestPerHostAddHostCaseInsensitive (line 75) | func TestPerHostAddHostCaseInsensitive(t *testing.T) { function TestPerHostTrailingDot (line 96) | func TestPerHostTrailingDot(t *testing.T) { function TestPerHostAddFromStringCaseInsensitive (line 120) | func TestPerHostAddFromStringCaseInsensitive(t *testing.T) { function TestPerHostNotMatch (line 146) | func TestPerHostNotMatch(t *testing.T) { function TestPerHostBypassSimpleHostnames (line 167) | func TestPerHostBypassSimpleHostnames(t *testing.T) { function TestPerHostBypassSimpleHostnamesDisabled (line 204) | func TestPerHostBypassSimpleHostnamesDisabled(t *testing.T) { function TestPerHostBypassSimpleHostnamesWithExplicitHosts (line 218) | func TestPerHostBypassSimpleHostnamesWithExplicitHosts(t *testing.T) { FILE: modules/systemproxy/proxy.go type Dialer (line 22) | type Dialer interface type Auth (line 27) | type Auth struct function NewDialerFromURL (line 31) | func NewDialerFromURL(u *url.URL, forward *net.Dialer) (Dialer, error) { type ProxyFuncValue (line 62) | type ProxyFuncValue function NewSystemProxy (line 72) | func NewSystemProxy(proxyURL string) func(*http.Request) (*url.URL, erro... FILE: modules/systemproxy/proxy_darwin.go type MacProxySettings (line 21) | type MacProxySettings struct function joinHostPort (line 46) | func joinHostPort(u, p string) string { function joinProxyURL (line 53) | func joinProxyURL(defaultScheme, host, port, user string) *url.URL { type section (line 65) | type section method boolean (line 72) | func (se section) boolean(name string) bool { method string (line 84) | func (se section) string(name string) string { method array (line 96) | func (se section) array(name string) []string { type arrayItem (line 67) | type arrayItem struct function parseOut (line 127) | func parseOut(out string) section { function findSystemProxy (line 164) | func findSystemProxy() (*MacProxySettings, error) { function newSystemDialer (line 199) | func newSystemDialer(forward *net.Dialer) Dialer { function NewSystemDialer (line 211) | func NewSystemDialer(forward *net.Dialer) Dialer { function systemProxyConfig (line 224) | func systemProxyConfig() *httpproxy.Config { FILE: modules/systemproxy/proxy_darwin_test.go function TestFindSystemProxy (line 15) | func TestFindSystemProxy(t *testing.T) { function TestSystemProxyConfig (line 26) | func TestSystemProxyConfig(t *testing.T) { function TestConnectHackNews (line 31) | func TestConnectHackNews(t *testing.T) { function TestParseOut (line 56) | func TestParseOut(t *testing.T) { function TestArraySortingWithLargeIndices (line 146) | func TestArraySortingWithLargeIndices(t *testing.T) { function TestParseOutEdgeCases (line 178) | func TestParseOutEdgeCases(t *testing.T) { FILE: modules/systemproxy/proxy_others.go function NewSystemDialer (line 12) | func NewSystemDialer(forward *net.Dialer) Dialer { function systemProxyConfig (line 25) | func systemProxyConfig() *httpproxy.Config { FILE: modules/systemproxy/proxy_test.go function parseProxyOverrideForTest (line 12) | func parseProxyOverrideForTest(proxyOverride string) (hosts []string, by... function TestParseProxyOverride (line 29) | func TestParseProxyOverride(t *testing.T) { FILE: modules/systemproxy/proxy_windows.go type windowsProxyConfig (line 14) | type windowsProxyConfig struct function parseProxyServer (line 25) | func parseProxyServer(proxyServer string) map[string]string { function getProtocolAny (line 44) | func getProtocolAny(protocol map[string]string, keys ...string) string { function fromWindowsProxy (line 53) | func fromWindowsProxy() (values windowsProxyConfig, err error) { function parseProxyOverride (line 103) | func parseProxyOverride(proxyOverride string) (hosts []string, bypassLoc... function newSystemDialer (line 121) | func newSystemDialer(forward *net.Dialer) Dialer { function NewSystemDialer (line 146) | func NewSystemDialer(forward *net.Dialer) Dialer { function systemProxyConfig (line 159) | func systemProxyConfig() *httpproxy.Config { FILE: modules/systemproxy/socks5.go function SOCKS5 (line 17) | func SOCKS5(network, address string, auth *Auth, forward Dialer) (Dialer... FILE: modules/systemproxy/url.go function ParseURL (line 11) | func ParseURL(rawURL string, defaultScheme string) (*url.URL, error) { FILE: modules/systemproxy/url_test.go function TestParseURL (line 7) | func TestParseURL(t *testing.T) { FILE: modules/term/color.go method Red (line 8) | func (v Level) Red(s string) string { method Green (line 26) | func (v Level) Green(s string) string { method Yellow (line 44) | func (v Level) Yellow(s string) string { method Blue (line 62) | func (v Level) Blue(s string) string { method Purple (line 80) | func (v Level) Purple(s string) string { FILE: modules/term/fmt.go function Fprintf (line 19) | func Fprintf(w io.Writer, format string, a ...any) (int, error) { FILE: modules/term/fmt_test.go function TestStripAnsi (line 12) | func TestStripAnsi(t *testing.T) { function TestCygwinTerminal (line 18) | func TestCygwinTerminal(t *testing.T) { function TestSanitized (line 22) | func TestSanitized(t *testing.T) { function TestTable (line 34) | func TestTable(t *testing.T) { function TestSanitizedF (line 56) | func TestSanitizedF(t *testing.T) { FILE: modules/term/sanitized.go constant CHAR_UNSPECIFIED (line 10) | CHAR_UNSPECIFIED = 0 constant CHAR_COLOR_SEQUENCE (line 11) | CHAR_COLOR_SEQUENCE = 1 constant CHAR_CONTROL (line 12) | CHAR_CONTROL = 2 function handleAnsiColorSequence (line 47) | func handleAnsiColorSequence(b *strings.Builder, text []byte, allowColor... function SanitizeANSI (line 79) | func SanitizeANSI(content string, allowColor bool) string { function SanitizedF (line 104) | func SanitizedF(format string, a ...any) (int, error) { FILE: modules/term/terminal.go type Level (line 16) | type Level method SupportColor (line 25) | func (level Level) SupportColor() bool { constant LevelNone (line 19) | LevelNone Level = iota constant Level256 (line 20) | Level256 constant Level16M (line 21) | Level16M function isFalse (line 38) | func isFalse(s string) bool { function detectForceColor (line 50) | func detectForceColor() (Level, bool) { function detectColorLevel (line 89) | func detectColorLevel() Level { function init (line 113) | func init() { function IsTerminal (line 136) | func IsTerminal(fd uintptr) bool { function IsNativeTerminal (line 142) | func IsNativeTerminal(fd uintptr) bool { function GetSize (line 148) | func GetSize(fd int) (width, height int, err error) { FILE: modules/term/terminal_others.go function IsCygwinTerminal (line 5) | func IsCygwinTerminal(fd uintptr) bool { function detectColorLevelHijack (line 9) | func detectColorLevelHijack() Level { FILE: modules/term/terminal_windows.go function isCygwinPipeName (line 23) | func isCygwinPipeName(name string) bool { type FILE_NAME_INFO (line 57) | type FILE_NAME_INFO struct function GetFileInformationByHandleEx (line 64) | func GetFileInformationByHandleEx(hFile syscall.Handle, constant FILE_NAME_INFO_BY_HANDLE (line 81) | FILE_NAME_INFO_BY_HANDLE = 2 function IsCygwinTerminal (line 87) | func IsCygwinTerminal(fd uintptr) bool { function detectColorLevelHijack (line 111) | func detectColorLevelHijack() Level { FILE: modules/trace/error.go function Location (line 14) | func Location(skip int) (string, int) { function Errorf (line 26) | func Errorf(format string, a ...any) error { type Tracker (line 33) | type Tracker struct method StepNext (line 42) | func (t *Tracker) StepNext(format string, a ...any) { function NewTracker (line 38) | func NewTracker(debugMode bool) *Tracker { FILE: modules/trace/trace.go function EnableDebugMode (line 16) | func EnableDebugMode() { function DbgPrint (line 20) | func DbgPrint(format string, args ...any) { FILE: modules/trace/trace_test.go function TestDebug (line 9) | func TestDebug(t *testing.T) { FILE: modules/tui/color.go type DiffTheme (line 14) | type DiffTheme struct function SetDiffTheme (line 106) | func SetDiffTheme(theme DiffTheme) { function EncoderOptions (line 112) | func EncoderOptions(level term.Level) []diferenco.EncoderOption { FILE: modules/tui/confirm.go function baseTheme (line 19) | func baseTheme() huh.Theme { function AskConfirm (line 42) | func AskConfirm(confirm *bool, format string, a ...any) error { FILE: modules/tui/input.go constant maxAttempts (line 21) | maxAttempts = 3 function askTitle (line 35) | func askTitle(format string, a ...any) string { function readLine (line 41) | func readLine(mask rune, format string, a ...any) (string, error) { function redrawLine (line 108) | func redrawLine(title string, runes []rune, mask rune) { function AskInput (line 122) | func AskInput(value *string, format string, a ...any) error { function AskPassword (line 137) | func AskPassword(password *string, format string, a ...any) error { FILE: modules/tui/pager.go type StringObject (line 21) | type StringObject method GetItem (line 23) | func (s StringObject) GetItem() item.Item { type Pager (line 29) | type Pager struct method Write (line 48) | func (p *Pager) Write(data []byte) (int, error) { method Close (line 56) | func (p *Pager) Close() error { method shouldSkipPager (line 79) | func (p *Pager) shouldSkipPager(content string) bool { method run (line 94) | func (p *Pager) run(content string) error { method ColorMode (line 114) | func (p *Pager) ColorMode() term.Level { function NewPager (line 39) | func NewPager(colorMode term.Level, useAltScreen bool) *Pager { function newViewport (line 118) | func newViewport(objects []StringObject) *viewport.Model[StringObject] { type pagerModel (line 136) | type pagerModel struct method Init (line 146) | func (m *pagerModel) Init() tea.Cmd { method Update (line 151) | func (m *pagerModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 176) | func (m *pagerModel) View() tea.View { method renderStatusBar (line 191) | func (m *pagerModel) renderStatusBar() string { FILE: modules/vfs/bound.go constant defaultDirectoryMode (line 14) | defaultDirectoryMode = 0o755 constant defaultCreateMode (line 15) | defaultCreateMode = 0o666 type BoundOS (line 29) | type BoundOS struct method Create (line 43) | func (fs *BoundOS) Create(filename string) (*os.File, error) { method OpenFile (line 59) | func (fs *BoundOS) OpenFile(filename string, flag int, perm os.FileMod... method ReadDir (line 67) | func (fs *BoundOS) ReadDir(path string) ([]os.DirEntry, error) { method Rename (line 76) | func (fs *BoundOS) Rename(from, to string) error { method MkdirAll (line 94) | func (fs *BoundOS) MkdirAll(path string, perm os.FileMode) error { method Open (line 102) | func (fs *BoundOS) Open(filename string) (*os.File, error) { method Stat (line 106) | func (fs *BoundOS) Stat(filename string) (os.FileInfo, error) { method Remove (line 114) | func (fs *BoundOS) Remove(filename string) error { method Join (line 122) | func (fs *BoundOS) Join(elem ...string) string { method RemoveAll (line 126) | func (fs *BoundOS) RemoveAll(path string) error { method Symlink (line 134) | func (fs *BoundOS) Symlink(target, link string) error { method Lstat (line 146) | func (fs *BoundOS) Lstat(filename string) (os.FileInfo, error) { method Readlink (line 157) | func (fs *BoundOS) Readlink(link string) (string, error) { method Root (line 171) | func (fs *BoundOS) Root() string { method createDir (line 175) | func (fs *BoundOS) createDir(fullpath string) error { method abs (line 192) | func (fs *BoundOS) abs(filename string) (string, error) { method insideBaseDir (line 218) | func (fs *BoundOS) insideBaseDir(filename string) (bool, error) { method insideBaseDirEval (line 249) | func (fs *BoundOS) insideBaseDirEval(filename string) (bool, error) { function newBoundOS (line 35) | func newBoundOS(d string, deduplicatePath bool) VFS { function openFile (line 47) | func openFile(fn string, flag int, perm os.FileMode, createDir func(stri... type ErrNotInsideBaseDir (line 228) | type ErrNotInsideBaseDir struct method Error (line 233) | func (e *ErrNotInsideBaseDir) Error() string { function IsErrNotInsideBaseDir (line 237) | func IsErrNotInsideBaseDir(err error) bool { function insidePathOf (line 242) | func insidePathOf(c, p string) bool { FILE: modules/vfs/bound_test.go function TestInsideBaseDir (line 9) | func TestInsideBaseDir(t *testing.T) { function TestInsideBaseDirEval (line 14) | func TestInsideBaseDirEval(t *testing.T) { function TestInsideBaseDirEval2 (line 20) | func TestInsideBaseDirEval2(t *testing.T) { FILE: modules/vfs/glob.go function Glob (line 19) | func Glob(fs VFS, pattern string) (matches []string, err error) { function cleanGlobPath (line 48) | func cleanGlobPath(path string) string { function glob (line 64) | func glob(fs VFS, dir, pattern string, matches []string) (m []string, e ... function hasMeta (line 92) | func hasMeta(path string) bool { function readdirnames (line 97) | func readdirnames(fs VFS, dir string) ([]string, error) { FILE: modules/vfs/vfs.go type VFS (line 8) | type VFS interface function NewVFS (line 62) | func NewVFS(root string) VFS { FILE: modules/viewport/configuration.go type fileSaveState (line 9) | type fileSaveState struct type configuration (line 30) | type configuration struct function newConfiguration (line 68) | func newConfiguration() *configuration { FILE: modules/viewport/content_manager.go type contentManager (line 6) | type contentManager struct function newContentManager (line 29) | func newContentManager[T Object]() *contentManager[T] { method setSelectedIdx (line 39) | func (cm *contentManager[T]) setSelectedIdx(idx int) { method getSelectedIdx (line 44) | func (cm *contentManager[T]) getSelectedIdx() int { method getSelectedItem (line 49) | func (cm *contentManager[T]) getSelectedItem() *T { method numItems (line 57) | func (cm *contentManager[T]) numItems() int { method isEmpty (line 62) | func (cm *contentManager[T]) isEmpty() bool { method rebuildHighlightsCache (line 67) | func (cm *contentManager[T]) rebuildHighlightsCache() { method setHighlights (line 76) | func (cm *contentManager[T]) setHighlights(highlights []Highlight) { method getHighlights (line 82) | func (cm *contentManager[T]) getHighlights() []Highlight { method getItemHighlightsForItem (line 87) | func (cm *contentManager[T]) getItemHighlightsForItem(itemIndex int) []i... FILE: modules/viewport/display_manager.go type displayManager (line 8) | type displayManager struct method setBounds (line 41) | func (dm *displayManager) setBounds(r rectangle) { method setTopItemIdxAndOffset (line 47) | func (dm *displayManager) setTopItemIdxAndOffset(topItemIdx, topItemLi... method getNumContentLines (line 52) | func (dm *displayManager) getNumContentLines(headerLines int, hasPostH... method render (line 67) | func (dm *displayManager) render(display string) string { function newDisplayManager (line 27) | func newDisplayManager(width, height int, styles Styles) *displayManager { type rectangle (line 72) | type rectangle struct FILE: modules/viewport/filterableviewport/filterableviewport.go type filterMode (line 15) | type filterMode constant filterModeOff (line 18) | filterModeOff filterMode = iota constant filterModeEditing (line 19) | filterModeEditing constant filterModeApplied (line 20) | filterModeApplied type FilterLinePosition (line 24) | type FilterLinePosition constant FilterLineBottom (line 28) | FilterLineBottom FilterLinePosition = iota constant FilterLineTop (line 31) | FilterLineTop type Option (line 35) | type Option function WithKeyMap (line 38) | func WithKeyMap[T viewport.Object](keyMap KeyMap) Option[T] { function WithStyles (line 45) | func WithStyles[T viewport.Object](styles Styles) Option[T] { function WithPrefixText (line 52) | func WithPrefixText[T viewport.Object](prefix string) Option[T] { function WithEmptyText (line 59) | func WithEmptyText[T viewport.Object](whenEmpty string) Option[T] { function WithMatchingItemsOnly (line 66) | func WithMatchingItemsOnly[T viewport.Object](matchingItemsOnly bool) Op... function WithCanToggleMatchingItemsOnly (line 73) | func WithCanToggleMatchingItemsOnly[T viewport.Object](canToggleMatching... function WithVerticalPad (line 80) | func WithVerticalPad[T viewport.Object](verticalPad int) Option[T] { function WithHorizontalPad (line 87) | func WithHorizontalPad[T viewport.Object](horizontalPad int) Option[T] { function WithMaxMatchLimit (line 97) | func WithMaxMatchLimit[T viewport.Object](maxMatchLimit int) Option[T] { function WithAdjustObjectsForFilter (line 110) | func WithAdjustObjectsForFilter[T viewport.Object](fn func(filterText st... function WithFilterModes (line 118) | func WithFilterModes[T viewport.Object](modes []FilterMode) Option[T] { function WithFilterLinePosition (line 125) | func WithFilterLinePosition[T viewport.Object](position FilterLinePositi... function WithFilterLinePrefix (line 132) | func WithFilterLinePrefix[T viewport.Object](prefix string) Option[T] { function WithItemDescriptor (line 141) | func WithItemDescriptor[T viewport.Object](descriptor string) Option[T] { method SetFilterLinePrefix (line 148) | func (m *Model[T]) SetFilterLinePrefix(prefix string) { method SetAdjustObjectsForFilter (line 154) | func (m *Model[T]) SetAdjustObjectsForFilter(fn func(filterText string, ... type Model (line 159) | type Model struct function New (line 200) | func New[T viewport.Object](vp *viewport.Model[T], opts ...Option[T]) *M... method Init (line 277) | func (m *Model[T]) Init() tea.Cmd { method Update (line 282) | func (m *Model[T]) Update(msg tea.Msg) (*Model[T], tea.Cmd) { method View (line 382) | func (m *Model[T]) View() string { method GetWidth (line 387) | func (m *Model[T]) GetWidth() int { method SetWidth (line 392) | func (m *Model[T]) SetWidth(width int) { method GetHeight (line 398) | func (m *Model[T]) GetHeight() int { method SetHeight (line 403) | func (m *Model[T]) SetHeight(height int) { method SetObjects (line 408) | func (m *Model[T]) SetObjects(objects []T) { method AppendObjects (line 417) | func (m *Model[T]) AppendObjects(objects []T) { method FilterFocused (line 438) | func (m *Model[T]) FilterFocused() bool { method IsCapturingInput (line 445) | func (m *Model[T]) IsCapturingInput() bool { method GetWrapText (line 450) | func (m *Model[T]) GetWrapText() bool { method SetWrapText (line 455) | func (m *Model[T]) SetWrapText(wrapText bool) { method GetSelectionEnabled (line 460) | func (m *Model[T]) GetSelectionEnabled() bool { method SetSelectionEnabled (line 465) | func (m *Model[T]) SetSelectionEnabled(selectionEnabled bool) { method GetFilterText (line 470) | func (m *Model[T]) GetFilterText() string { method GetActiveFilterMode (line 475) | func (m *Model[T]) GetActiveFilterMode() *FilterMode { method FilterModes (line 484) | func (m *Model[T]) FilterModes() []FilterMode { method GetSelectedItem (line 489) | func (m *Model[T]) GetSelectedItem() *T { method GetSelectedItemIdx (line 494) | func (m *Model[T]) GetSelectedItemIdx() int { method SetSelectedItemIdx (line 499) | func (m *Model[T]) SetSelectedItemIdx(idx int) { method SetTopSticky (line 504) | func (m *Model[T]) SetTopSticky(topSticky bool) { method SetBottomSticky (line 509) | func (m *Model[T]) SetBottomSticky(bottomSticky bool) { method SetHeader (line 514) | func (m *Model[T]) SetHeader(header []string) { method SetSelectionComparator (line 519) | func (m *Model[T]) SetSelectionComparator(compareFn viewport.CompareFn[T... method SetFilter (line 525) | func (m *Model[T]) SetFilter(value string, mode FilterModeName) { method GetMatchingItemsOnly (line 541) | func (m *Model[T]) GetMatchingItemsOnly() bool { method SetMatchingItemsOnly (line 546) | func (m *Model[T]) SetMatchingItemsOnly(matchingItemsOnly bool) { method SetFilterableViewportStyles (line 552) | func (m *Model[T]) SetFilterableViewportStyles(styles Styles) { method SetViewportStyles (line 559) | func (m *Model[T]) SetViewportStyles(styles viewport.Styles) { method updateMatchingItems (line 564) | func (m *Model[T]) updateMatchingItems() { method updateFocusedMatchHighlight (line 594) | func (m *Model[T]) updateFocusedMatchHighlight() { method canUpdateHighlightsIncrementally (line 615) | func (m *Model[T]) canUpdateHighlightsIncrementally() bool { method updateHighlightsIncrementally (line 623) | func (m *Model[T]) updateHighlightsIncrementally(selectedIdx int) bool { method unfocusPreviousHighlight (line 637) | func (m *Model[T]) unfocusPreviousHighlight(highlights []viewport.Highli... method focusCurrentHighlight (line 644) | func (m *Model[T]) focusCurrentHighlight(highlights []viewport.Highlight... method rebuildAllHighlights (line 664) | func (m *Model[T]) rebuildAllHighlights(selectedIdx int) { method getItemIdxForMatch (line 684) | func (m *Model[T]) getItemIdxForMatch(itemIdx int) int { method getMatchStyle (line 695) | func (m *Model[T]) getMatchStyle(matchIdx, itemIdx, selectedIdx int) lip... method renderFilterLine (line 706) | func (m *Model[T]) renderFilterLine() string { method setFilterLine (line 737) | func (m *Model[T]) setFilterLine(line string) { method getModeIndicator (line 746) | func (m *Model[T]) getModeIndicator() string { method getMatchingObjectsAndUpdateMatches (line 755) | func (m *Model[T]) getMatchingObjectsAndUpdateMatches() ([]T, bool) { method appendMatchesForNewObjects (line 868) | func (m *Model[T]) appendMatchesForNewObjects(startIdx int, newObjects [... method extractMatches (line 952) | func (m *Model[T]) extractMatches(obj T, matchFn MatchFunc) []item.Match { method buildHighlightsFromMatches (line 959) | func (m *Model[T]) buildHighlightsFromMatches(itemIdx int, matches []ite... method showMatchesOnly (line 980) | func (m *Model[T]) showMatchesOnly() bool { function matchingItemsOnlyText (line 985) | func matchingItemsOnlyText(matchingItemsOnly bool) string { function removeEmpty (line 993) | func removeEmpty(s []string) []string { method getTextAfterFilter (line 1004) | func (m *Model[T]) getTextAfterFilter() string { method getMatchCountText (line 1012) | func (m *Model[T]) getMatchCountText() string { method navigateToNextMatch (line 1032) | func (m *Model[T]) navigateToNextMatch() { method navigateToPrevMatch (line 1040) | func (m *Model[T]) navigateToPrevMatch() { method afterMatchNavigation (line 1051) | func (m *Model[T]) afterMatchNavigation() { constant maxSearchHistorySize (line 1058) | maxSearchHistorySize = 100 method addToSearchHistory (line 1060) | func (m *Model[T]) addToSearchHistory(text string) { method resetSearchHistoryBrowsing (line 1073) | func (m *Model[T]) resetSearchHistoryBrowsing() { method navigateSearchHistoryPrev (line 1078) | func (m *Model[T]) navigateSearchHistoryPrev() { method navigateSearchHistoryNext (line 1093) | func (m *Model[T]) navigateSearchHistoryNext() { method getFocusedMatch (line 1108) | func (m *Model[T]) getFocusedMatch() *viewport.Highlight { method getItemIdx (line 1116) | func (m *Model[T]) getItemIdx(match *viewport.Highlight) int { method ensureCurrentMatchInView (line 1126) | func (m *Model[T]) ensureCurrentMatchInView() { method setSelectionToCurrentMatch (line 1135) | func (m *Model[T]) setSelectionToCurrentMatch() { FILE: modules/viewport/filterableviewport/filterableviewport_filterlineposition_test.go function TestFilterLinePositionTop (line 10) | func TestFilterLinePositionTop(t *testing.T) { function TestFilterLinePositionTopWithActiveFilter (line 37) | func TestFilterLinePositionTopWithActiveFilter(t *testing.T) { function TestFilterLinePositionTopWithHeader (line 69) | func TestFilterLinePositionTopWithHeader(t *testing.T) { function TestFilterLinePositionTopDuringEditing (line 98) | func TestFilterLinePositionTopDuringEditing(t *testing.T) { function TestFilterLinePositionBottomIsDefault (line 130) | func TestFilterLinePositionBottomIsDefault(t *testing.T) { function TestFilterLinePositionTopScrolling (line 157) | func TestFilterLinePositionTopScrolling(t *testing.T) { function TestFilterLinePositionTopWithWrap (line 198) | func TestFilterLinePositionTopWithWrap(t *testing.T) { function TestFilterLinePositionTopMatchNavigation (line 228) | func TestFilterLinePositionTopMatchNavigation(t *testing.T) { FILE: modules/viewport/filterableviewport/filterableviewport_filterlineprefix_test.go function TestFilterLinePrefixNoFilter (line 11) | func TestFilterLinePrefixNoFilter(t *testing.T) { function TestFilterLinePrefixWithActiveFilter (line 38) | func TestFilterLinePrefixWithActiveFilter(t *testing.T) { function TestFilterLinePrefixDuringEditing (line 71) | func TestFilterLinePrefixDuringEditing(t *testing.T) { function TestFilterLinePrefixWithPositionTop (line 101) | func TestFilterLinePrefixWithPositionTop(t *testing.T) { function TestFilterLinePrefixEmpty (line 129) | func TestFilterLinePrefixEmpty(t *testing.T) { function TestFilterLinePrefixWithFilterCancelRestore (line 156) | func TestFilterLinePrefixWithFilterCancelRestore(t *testing.T) { function TestFilterLinePrefixTruncation (line 193) | func TestFilterLinePrefixTruncation(t *testing.T) { function TestFilterLinePrefixAndPositionTopWithActiveFilter (line 218) | func TestFilterLinePrefixAndPositionTopWithActiveFilter(t *testing.T) { function TestFilterLinePrefixStyled (line 252) | func TestFilterLinePrefixStyled(t *testing.T) { function TestSetFilterLinePrefixNoFilter (line 280) | func TestSetFilterLinePrefixNoFilter(t *testing.T) { function TestSetFilterLinePrefixWithActiveFilter (line 308) | func TestSetFilterLinePrefixWithActiveFilter(t *testing.T) { function TestSetFilterLinePrefixChangesExistingPrefix (line 342) | func TestSetFilterLinePrefixChangesExistingPrefix(t *testing.T) { function TestSetFilterLinePrefixToEmpty (line 381) | func TestSetFilterLinePrefixToEmpty(t *testing.T) { function TestSetFilterLinePrefixWithPositionTop (line 410) | func TestSetFilterLinePrefixWithPositionTop(t *testing.T) { function TestSetFilterLinePrefixPreservedAfterFilterCycle (line 439) | func TestSetFilterLinePrefixPreservedAfterFilterCycle(t *testing.T) { function TestSetWidthReRendersFilterLine (line 476) | func TestSetWidthReRendersFilterLine(t *testing.T) { FILE: modules/viewport/filterableviewport/filterableviewport_saving_test.go type saveTestObject (line 16) | type saveTestObject struct method GetItem (line 20) | func (o saveTestObject) GetItem() item.Item { function newSaveTestFilterableViewport (line 31) | func newSaveTestFilterableViewport(t *testing.T) (*Model[saveTestObject]... function setSaveTestObjects (line 41) | func setSaveTestObjects(fv *Model[saveTestObject], lines []string) { function TestFilterableViewport_AllHotkeysTypedIntoFilename (line 49) | func TestFilterableViewport_AllHotkeysTypedIntoFilename(t *testing.T) { function TestFilterableViewport_FilterWorksAfterCancelingSave (line 81) | func TestFilterableViewport_FilterWorksAfterCancelingSave(t *testing.T) { function TestFilterableViewport_SaveDuringActiveFilter (line 96) | func TestFilterableViewport_SaveDuringActiveFilter(t *testing.T) { FILE: modules/viewport/filterableviewport/filterableviewport_searchhistory_test.go function makeSearchHistoryFV (line 14) | func makeSearchHistoryFV() *Model[object] { function typeFilter (line 34) | func typeFilter(fv *Model[object], text string) { function applyFilter (line 40) | func applyFilter(fv *Model[object], text string) { function TestSearchHistoryBasic (line 47) | func TestSearchHistoryBasic(t *testing.T) { function TestSearchHistoryNoConsecutiveDuplicates (line 67) | func TestSearchHistoryNoConsecutiveDuplicates(t *testing.T) { function TestSearchHistoryDraftPreserved (line 86) | func TestSearchHistoryDraftPreserved(t *testing.T) { function TestSearchHistoryUpAtOldest (line 109) | func TestSearchHistoryUpAtOldest(t *testing.T) { function TestSearchHistoryDownAtDraft (line 125) | func TestSearchHistoryDownAtDraft(t *testing.T) { function TestSearchHistoryEmptyNotSaved (line 141) | func TestSearchHistoryEmptyNotSaved(t *testing.T) { function TestSearchHistoryResetOnReEnter (line 153) | func TestSearchHistoryResetOnReEnter(t *testing.T) { function TestSearchHistoryUpDownNoHistory (line 175) | func TestSearchHistoryUpDownNoHistory(t *testing.T) { function TestSearchHistoryLimit (line 194) | func TestSearchHistoryLimit(t *testing.T) { function TestSearchHistoryUpDownNotEditingDoesNotBrowseHistory (line 216) | func TestSearchHistoryUpDownNotEditingDoesNotBrowseHistory(t *testing.T) { function TestSearchHistoryCaseInsensitiveNoPrefix (line 241) | func TestSearchHistoryCaseInsensitiveNoPrefix(t *testing.T) { function TestSearchHistoryCaseInsensitiveStoredPlain (line 258) | func TestSearchHistoryCaseInsensitiveStoredPlain(t *testing.T) { function TestSearchHistoryRegexModeNoPrefix (line 278) | func TestSearchHistoryRegexModeNoPrefix(t *testing.T) { FILE: modules/viewport/filterableviewport/filterableviewport_test.go type object (line 17) | type object struct method GetItem (line 21) | func (i object) GetItem() item.Item { function makeFilterableViewport (line 62) | func makeFilterableViewport( function TestNew (line 81) | func TestNew(t *testing.T) { function TestNewLongText (line 105) | func TestNewLongText(t *testing.T) { function TestNewWidthHeight (line 130) | func TestNewWidthHeight(t *testing.T) { function TestZeroDimensions (line 145) | func TestZeroDimensions(t *testing.T) { function TestNegativeDimensions (line 161) | func TestNegativeDimensions(t *testing.T) { function TestSetWidthSetHeight (line 177) | func TestSetWidthSetHeight(t *testing.T) { function TestFilterFocusedInitial (line 195) | func TestFilterFocusedInitial(t *testing.T) { function TestEmptyContent (line 207) | func TestEmptyContent(t *testing.T) { function TestWithMatchesOnlyTrue (line 227) | func TestWithMatchesOnlyTrue(t *testing.T) { function TestWithMatchesOnlyFalse (line 253) | func TestWithMatchesOnlyFalse(t *testing.T) { function TestNoItemDescriptor (line 280) | func TestNoItemDescriptor(t *testing.T) { function TestWithCanToggleMatchesOnlyTrue (line 307) | func TestWithCanToggleMatchesOnlyTrue(t *testing.T) { function TestWithCanToggleMatchesOnlyFalse (line 342) | func TestWithCanToggleMatchesOnlyFalse(t *testing.T) { function TestNilContent (line 371) | func TestNilContent(t *testing.T) { function TestDefaultText (line 391) | func TestDefaultText(t *testing.T) { function TestFilterKeyFocus (line 419) | func TestFilterKeyFocus(t *testing.T) { function TestRegexFilterKeyFocus (line 433) | func TestRegexFilterKeyFocus(t *testing.T) { function TestCaseInsensitiveFilterKeyEmpty (line 447) | func TestCaseInsensitiveFilterKeyEmpty(t *testing.T) { function TestSwitchFromExactToCaseInsensitive (line 474) | func TestSwitchFromExactToCaseInsensitive(t *testing.T) { function TestSwitchFromCaseInsensitiveToExact (line 512) | func TestSwitchFromCaseInsensitiveToExact(t *testing.T) { function TestCaseInsensitiveKeyReEntersEditingMode (line 550) | func TestCaseInsensitiveKeyReEntersEditingMode(t *testing.T) { function TestApplyFilterKey (line 588) | func TestApplyFilterKey(t *testing.T) { function TestCancelFilterKey (line 611) | func TestCancelFilterKey(t *testing.T) { function TestRegexFilterValidPattern (line 634) | func TestRegexFilterValidPattern(t *testing.T) { function TestRegexFilterInvalidPattern (line 657) | func TestRegexFilterInvalidPattern(t *testing.T) { function TestStyleOverlay (line 678) | func TestStyleOverlay(t *testing.T) { function TestRegexFilterMultipleMatchesInSingleLine (line 719) | func TestRegexFilterMultipleMatchesInSingleLine(t *testing.T) { function TestNoMatchesShowsNoMatchesText (line 797) | func TestNoMatchesShowsNoMatchesText(t *testing.T) { function TestWithFilterModes (line 818) | func TestWithFilterModes(t *testing.T) { function TestViewportControls (line 837) | func TestViewportControls(t *testing.T) { function TestApplyEmptyFilterShowsWhenEmptyText (line 861) | func TestApplyEmptyFilterShowsWhenEmptyText(t *testing.T) { function TestEditingEmptyFilterShowsEditingMessage (line 882) | func TestEditingEmptyFilterShowsEditingMessage(t *testing.T) { function TestSpecialKeysWhileFiltering (line 902) | func TestSpecialKeysWhileFiltering(t *testing.T) { function TestAnsiEscapeCodesNotMatched (line 933) | func TestAnsiEscapeCodesNotMatched(t *testing.T) { function TestMatchNavigationWithNoMatches (line 960) | func TestMatchNavigationWithNoMatches(t *testing.T) { function TestMatchNavigationWithOverlappingMatches (line 986) | func TestMatchNavigationWithOverlappingMatches(t *testing.T) { function TestMatchNavigationWithAllItemsWrap (line 1008) | func TestMatchNavigationWithAllItemsWrap(t *testing.T) { function TestMatchNavigationWithMatchingItemsOnlyWrap (line 1074) | func TestMatchNavigationWithMatchingItemsOnlyWrap(t *testing.T) { function TestMatchNavigationWrapLineOffset (line 1140) | func TestMatchNavigationWrapLineOffset(t *testing.T) { function TestMatchNavigationWrappedLinesWithMatches (line 1167) | func TestMatchNavigationWrappedLinesWithMatches(t *testing.T) { function TestMatchNavigationWrappedLinesWithWrappedMatches (line 1234) | func TestMatchNavigationWrappedLinesWithWrappedMatches(t *testing.T) { function TestMatchNavigationNoWrap (line 1363) | func TestMatchNavigationNoWrap(t *testing.T) { function TestMatchNavigationNoWrapPanning (line 1418) | func TestMatchNavigationNoWrapPanning(t *testing.T) { function TestMatchNavigationNoWrapUnicode (line 1503) | func TestMatchNavigationNoWrapUnicode(t *testing.T) { function TestMatchNavigationManyMatchesWrap (line 1529) | func TestMatchNavigationManyMatchesWrap(t *testing.T) { function TestMatchNavigationManyMatchesWrapPerformance (line 1558) | func TestMatchNavigationManyMatchesWrapPerformance(t *testing.T) { function TestScrollingWithManyHighlightedMatchesPerformance (line 1606) | func TestScrollingWithManyHighlightedMatchesPerformance(t *testing.T) { function TestScrollingWithManyHighlightedMatchesPerformanceSelectionEnabled (line 1653) | func TestScrollingWithManyHighlightedMatchesPerformanceSelectionEnabled(... function TestMatchNavigationWithSelectionEnabled (line 1712) | func TestMatchNavigationWithSelectionEnabled(t *testing.T) { function TestFocusedIfSelectedMatchStyle (line 1755) | func TestFocusedIfSelectedMatchStyle(t *testing.T) { function TestFocusedIfSelectedWithReverseSelection (line 1821) | func TestFocusedIfSelectedWithReverseSelection(t *testing.T) { function TestMatchNavigationWithSelectionEnabledWrap (line 1895) | func TestMatchNavigationWithSelectionEnabledWrap(t *testing.T) { function TestMatchNavigationWithSelectionEnabledWrapScrolling (line 1953) | func TestMatchNavigationWithSelectionEnabledWrapScrolling(t *testing.T) { function TestToggleWrap (line 1996) | func TestToggleWrap(t *testing.T) { function TestApplyFilterScrollsToFirstMatch (line 2051) | func TestApplyFilterScrollsToFirstMatch(t *testing.T) { function TestSetObjectsPreservesMatchIndex (line 2132) | func TestSetObjectsPreservesMatchIndex(t *testing.T) { function TestAppendObjectsPreservesMatchIndex (line 2179) | func TestAppendObjectsPreservesMatchIndex(t *testing.T) { function TestAppendObjectsWithNil (line 2223) | func TestAppendObjectsWithNil(t *testing.T) { function TestAppendObjectsRespectsMatchLimit (line 2248) | func TestAppendObjectsRespectsMatchLimit(t *testing.T) { function TestAppendObjectsIncrementalWithMatchingItemsOnly (line 2297) | func TestAppendObjectsIncrementalWithMatchingItemsOnly(t *testing.T) { function TestVerticalPadding (line 2349) | func TestVerticalPadding(t *testing.T) { function TestHorizontalPadding (line 2412) | func TestHorizontalPadding(t *testing.T) { function TestMatchNavigationWithVerticalPadding (line 2457) | func TestMatchNavigationWithVerticalPadding(t *testing.T) { function TestMatchNavigationRolloverWithVerticalPadding (line 2529) | func TestMatchNavigationRolloverWithVerticalPadding(t *testing.T) { function stringsToItems (line 2586) | func stringsToItems(vals []string) []object { function TestSelectionAndFocusedMatchAfterItemsChange (line 2594) | func TestSelectionAndFocusedMatchAfterItemsChange(t *testing.T) { function TestCurrentMatchNotCenteredAfterItemsChange (line 2664) | func TestCurrentMatchNotCenteredAfterItemsChange(t *testing.T) { function TestMaxMatchLimit (line 2711) | func TestMaxMatchLimit(t *testing.T) { function TestMaxMatchLimitWithAppendObjects (line 2777) | func TestMaxMatchLimitWithAppendObjects(t *testing.T) { function TestMaxMatchLimitUnlimited (line 2816) | func TestMaxMatchLimitUnlimited(t *testing.T) { function TestToggleWrap_DoesNotJumpToMatchWhenScrolledAway (line 2846) | func TestToggleWrap_DoesNotJumpToMatchWhenScrolledAway(t *testing.T) { function TestFilterLineAtBottom (line 2909) | func TestFilterLineAtBottom(t *testing.T) { function TestEmptyTextAtBottom (line 2950) | func TestEmptyTextAtBottom(t *testing.T) { function TestFilterLinePositionWithWrap (line 2976) | func TestFilterLinePositionWithWrap(t *testing.T) { function TestFilterLinePositionDuringEditing (line 3005) | func TestFilterLinePositionDuringEditing(t *testing.T) { function TestHeightConsistencyAfterRefactor (line 3038) | func TestHeightConsistencyAfterRefactor(t *testing.T) { function TestContentStartsAtTop (line 3077) | func TestContentStartsAtTop(t *testing.T) { function TestSetFilter_ExactMode (line 3106) | func TestSetFilter_ExactMode(t *testing.T) { function TestSetFilter_RegexMode (line 3138) | func TestSetFilter_RegexMode(t *testing.T) { function TestSetFilter_ClearsFilterWhenEmpty (line 3171) | func TestSetFilter_ClearsFilterWhenEmpty(t *testing.T) { function TestSetFilter_SwitchBetweenModes (line 3207) | func TestSetFilter_SwitchBetweenModes(t *testing.T) { function TestSetFilter_WithMatchingItemsOnly (line 3245) | func TestSetFilter_WithMatchingItemsOnly(t *testing.T) { function TestSetMatchingItemsOnly_EnableShowsOnlyMatches (line 3273) | func TestSetMatchingItemsOnly_EnableShowsOnlyMatches(t *testing.T) { function TestSetMatchingItemsOnly_DisableShowsAllItems (line 3318) | func TestSetMatchingItemsOnly_DisableShowsAllItems(t *testing.T) { function TestSetMatchingItemsOnly_ToggleBackAndForth (line 3363) | func TestSetMatchingItemsOnly_ToggleBackAndForth(t *testing.T) { function TestSetMatchingItemsOnly_NoEffectWithoutFilter (line 3401) | func TestSetMatchingItemsOnly_NoEffectWithoutFilter(t *testing.T) { function TestSetFilterableViewportStyles_ChangesMatchStyles (line 3429) | func TestSetFilterableViewportStyles_ChangesMatchStyles(t *testing.T) { function TestSetFilterableViewportStyles_UpdatesExistingHighlights (line 3474) | func TestSetFilterableViewportStyles_UpdatesExistingHighlights(t *testin... function TestAdjustObjectsForFilter_CalledOnFilterChange (line 3522) | func TestAdjustObjectsForFilter_CalledOnFilterChange(t *testing.T) { function TestAdjustObjectsForFilter_CalledWithRegexMode (line 3562) | func TestAdjustObjectsForFilter_CalledWithRegexMode(t *testing.T) { function TestAdjustObjectsForFilter_ReplacesObjects (line 3587) | func TestAdjustObjectsForFilter_ReplacesObjects(t *testing.T) { function TestAdjustObjectsForFilter_NilKeepsExistingObjects (line 3634) | func TestAdjustObjectsForFilter_NilKeepsExistingObjects(t *testing.T) { function TestAdjustObjectsForFilter_WithMatchingItemsOnlyTrue (line 3671) | func TestAdjustObjectsForFilter_WithMatchingItemsOnlyTrue(t *testing.T) { function TestAdjustObjectsForFilter_WithMatchingItemsOnlyFalse (line 3699) | func TestAdjustObjectsForFilter_WithMatchingItemsOnlyFalse(t *testing.T) { function TestAdjustObjectsForFilter_MatchNavigationWorks (line 3726) | func TestAdjustObjectsForFilter_MatchNavigationWorks(t *testing.T) { function TestAdjustObjectsForFilter_ClearFilterRestoresOriginalBehavior (line 3782) | func TestAdjustObjectsForFilter_ClearFilterRestoresOriginalBehavior(t *t... function TestSetFilter_SelectionAtBottomWithBottomSticky (line 3827) | func TestSetFilter_SelectionAtBottomWithBottomSticky(t *testing.T) { function TestSetFilter_SelectionAtBottomWithBottomSticky_AppendDoesNotJump (line 3874) | func TestSetFilter_SelectionAtBottomWithBottomSticky_AppendDoesNotJump(t... function TestCustomFilterMode (line 3936) | func TestCustomFilterMode(t *testing.T) { function TestCustomFilterModeWithError (line 3994) | func TestCustomFilterModeWithError(t *testing.T) { function TestFuzzyFilterMode (line 4030) | func TestFuzzyFilterMode(t *testing.T) { function TestFuzzyFilterModeNoMatch (line 4069) | func TestFuzzyFilterModeNoMatch(t *testing.T) { function TestFuzzyFilterModeCaseInsensitive (line 4099) | func TestFuzzyFilterModeCaseInsensitive(t *testing.T) { function TestFuzzyFilterModeEmptyFilter (line 4131) | func TestFuzzyFilterModeEmptyFilter(t *testing.T) { function TestFuzzyFilterModeHighlightRanges (line 4145) | func TestFuzzyFilterModeHighlightRanges(t *testing.T) { function TestFuzzyFilterModeUnicode (line 4168) | func TestFuzzyFilterModeUnicode(t *testing.T) { function TestModeSwitching (line 4187) | func TestModeSwitching(t *testing.T) { function TestSetFilterWithVariousModes (line 4254) | func TestSetFilterWithVariousModes(t *testing.T) { function TestFilterModesAccessor (line 4314) | func TestFilterModesAccessor(t *testing.T) { function TestGetActiveFilterModeNil (line 4339) | func TestGetActiveFilterModeNil(t *testing.T) { function TestWithFilterModesCustom (line 4365) | func TestWithFilterModesCustom(t *testing.T) { function TestAdjustObjectsForFilter_ModeNonEmptyOnClear (line 4417) | func TestAdjustObjectsForFilter_ModeNonEmptyOnClear(t *testing.T) { function TestModeSwitchAfterCancel (line 4454) | func TestModeSwitchAfterCancel(t *testing.T) { function TestDuplicateFilterModeNamePanics (line 4496) | func TestDuplicateFilterModeNamePanics(t *testing.T) { function TestNoFilterModesPanics (line 4517) | func TestNoFilterModesPanics(t *testing.T) { function TestEmptyFilterModeNamePanics (line 4535) | func TestEmptyFilterModeNamePanics(t *testing.T) { function TestNoMatchesResetsXOffsetWhenUnwrapped (line 4555) | func TestNoMatchesResetsXOffsetWhenUnwrapped(t *testing.T) { FILE: modules/viewport/filterableviewport/filtermode.go type FilterModeName (line 15) | type FilterModeName constant FilterExact (line 19) | FilterExact FilterModeName = "exact" constant FilterRegex (line 21) | FilterRegex FilterModeName = "regex" constant FilterCaseInsensitive (line 23) | FilterCaseInsensitive FilterModeName = "iregex" constant FilterFuzzy (line 25) | FilterFuzzy FilterModeName = "fuzzy" type MatchFunc (line 30) | type MatchFunc type FilterMode (line 33) | type FilterMode struct method Matches (line 49) | func (fm FilterMode) Matches(query, content string) bool { function ExactFilterMode (line 61) | func ExactFilterMode(k key.Binding) FilterMode { function RegexFilterMode (line 90) | func RegexFilterMode(k key.Binding) FilterMode { function CaseInsensitiveFilterMode (line 118) | func CaseInsensitiveFilterMode(k key.Binding) FilterMode { function FuzzyFilterMode (line 147) | func FuzzyFilterMode(k key.Binding) FilterMode { function DefaultFilterModes (line 177) | func DefaultFilterModes() []FilterMode { FILE: modules/viewport/filterableviewport/keymap.go type KeyMap (line 10) | type KeyMap struct function DefaultKeyMap (line 21) | func DefaultKeyMap() KeyMap { FILE: modules/viewport/filterableviewport/styles.go type Styles (line 8) | type Styles struct type MatchStyles (line 13) | type MatchStyles struct function DefaultMatchStyles (line 21) | func DefaultMatchStyles() MatchStyles { function DefaultStyles (line 30) | func DefaultStyles() Styles { FILE: modules/viewport/highlight.go type Highlight (line 8) | type Highlight struct FILE: modules/viewport/internal/fuzzy/fuzzy.go type Match (line 17) | type Match struct method MatchedByteRanges (line 29) | func (m Match) MatchedByteRanges() []ByteRange { type ByteRange (line 67) | type ByteRange struct type Matches (line 76) | type Matches method Len (line 78) | func (m Matches) Len() int { return len(m) } method Swap (line 79) | func (m Matches) Swap(i, j int) { m[i], m[j] = m[j], m[i] } method Less (line 80) | func (m Matches) Less(i, j int) bool { type Option (line 95) | type Option type option (line 97) | type option struct function WithCaseSensitive (line 103) | func WithCaseSensitive(v bool) Option { function Find (line 111) | func Find(items []string, query string, opts ...Option) Matches { function match (line 139) | func match(str, query string, o option) (Match, bool) { FILE: modules/viewport/internal/fuzzy/fuzzy_test.go function TestMatch (line 8) | func TestMatch(t *testing.T) { function TestMatchCaseSensitive (line 74) | func TestMatchCaseSensitive(t *testing.T) { function TestMatchCaseInsensitiveDefault (line 111) | func TestMatchCaseInsensitiveDefault(t *testing.T) { function TestFind (line 128) | func TestFind(t *testing.T) { function TestFindCaseSensitive (line 150) | func TestFindCaseSensitive(t *testing.T) { function TestFindEmpty (line 161) | func TestFindEmpty(t *testing.T) { function TestFindNoMatches (line 170) | func TestFindNoMatches(t *testing.T) { function TestMatchesSorting (line 178) | func TestMatchesSorting(t *testing.T) { function TestMatchedByteRanges (line 202) | func TestMatchedByteRanges(t *testing.T) { function TestMatchedByteRangesUnicode (line 223) | func TestMatchedByteRangesUnicode(t *testing.T) { function TestMatchTightestSpan (line 244) | func TestMatchTightestSpan(t *testing.T) { function TestMatchedByteRangesEmpty (line 288) | func TestMatchedByteRangesEmpty(t *testing.T) { FILE: modules/viewport/internal/test_util.go function CmpStr (line 33) | func CmpStr(t *testing.T, expected, actual string, extra ...string) { function RunWithTimeout (line 48) | func RunWithTimeout(t *testing.T, runTest func(t *testing.T), timeout ti... function Pad (line 103) | func Pad(width, height int, lines []string) string { function MakeKeyMsg (line 122) | func MakeKeyMsg(k rune) tea.KeyPressMsg { FILE: modules/viewport/item/ansi.go function StripAnsi (line 11) | func StripAnsi(input string) string { type highlightRange (line 37) | type highlightRange struct constant RST (line 45) | RST = "\x1b[m" function isResetCode (line 49) | func isResetCode(code string) bool { function reapplyAnsi (line 65) | func reapplyAnsi(original, truncated string, truncByteOffset int, ansiCo... function getNonAnsiBytes (line 115) | func getNonAnsiBytes(s string, startIdx, numBytes int) string { function highlightString (line 143) | func highlightString( function simplifyAnsiCodes (line 276) | func simplifyAnsiCodes(ansis []string) []string { function runesHaveAnsiPrefix (line 307) | func runesHaveAnsiPrefix(runes []rune) bool { function findAnsiByteRanges (line 311) | func findAnsiByteRanges(s string) [][]uint32 { function findAnsiRuneRanges (line 349) | func findAnsiRuneRanges(s string) [][]uint32 { function stripNonSGR (line 392) | func stripNonSGR(line string) string { function removeEmptyAnsiSequences (line 542) | func removeEmptyAnsiSequences(s string) string { FILE: modules/viewport/item/ansi_test.go function TestAnsi_reapplyAnsi (line 11) | func TestAnsi_reapplyAnsi(t *testing.T) { function TestHighlightString (line 257) | func TestHighlightString(t *testing.T) { function TestAnsi_getNonAnsiBytes (line 384) | func TestAnsi_getNonAnsiBytes(t *testing.T) { function TestStripNonSGR (line 489) | func TestStripNonSGR(t *testing.T) { function assertPanic (line 879) | func assertPanic(t *testing.T, f func()) { FILE: modules/viewport/item/concat.go type ConcatItem (line 10) | type ConcatItem struct method Width (line 62) | func (m ConcatItem) Width() int { method Content (line 67) | func (m ConcatItem) Content() string { method ContentNoAnsi (line 92) | func (m ConcatItem) ContentNoAnsi() string { method Take (line 123) | func (m ConcatItem) Take( method takeUnpinned (line 148) | func (m ConcatItem) takeUnpinned( method takePinned (line 229) | func (m ConcatItem) takePinned( method takePinnedItems (line 258) | func (m ConcatItem) takePinnedItems(takeWidth int, highlights []Highli... method takeNonPinnedItems (line 296) | func (m ConcatItem) takeNonPinnedItems( method takePinnedOnly (line 392) | func (m ConcatItem) takePinnedOnly(takeWidth int, continuation string,... method NumWrappedLines (line 425) | func (m ConcatItem) NumWrappedLines(wrapWidth int) int { method LineBrokenItems (line 435) | func (m ConcatItem) LineBrokenItems() []Item { method repr (line 440) | func (m ConcatItem) repr() string { method ByteRangesToMatches (line 454) | func (m ConcatItem) ByteRangesToMatches(byteRanges []ByteRange) []Match { method concatByteRangeToWidthRange (line 477) | func (m ConcatItem) concatByteRangeToWidthRange( method computeItemOffsets (line 503) | func (m ConcatItem) computeItemOffsets() (itemByteOffsets, itemWidthOf... method ExtractExactMatches (line 514) | func (m ConcatItem) ExtractExactMatches(exactMatch string) []Match { method findItemForByteOffset (line 541) | func (m ConcatItem) findItemForByteOffset(byteOffset int, itemByteOffs... method ExtractRegexMatches (line 568) | func (m ConcatItem) ExtractRegexMatches(regex *regexp.Regexp) []Match { function NewConcat (line 25) | func NewConcat(items ...SingleItem) ConcatItem { function NewConcatWithPinned (line 31) | func NewConcatWithPinned(pinnedCount int, items ...SingleItem) ConcatItem { FILE: modules/viewport/item/concat_test.go function getEquivalentItems (line 13) | func getEquivalentItems() map[string][]Item { function TestConcatItem_Width (line 68) | func TestConcatItem_Width(t *testing.T) { function TestConcatItem_Content (line 78) | func TestConcatItem_Content(t *testing.T) { function TestConcatItem_Take (line 88) | func TestConcatItem_Take(t *testing.T) { function TestConcatItem_TakeWithPinned (line 443) | func TestConcatItem_TakeWithPinned(t *testing.T) { function TestConcatItem_NumWrappedLines (line 630) | func TestConcatItem_NumWrappedLines(t *testing.T) { function TestConcatItem_ExtractExactMatches (line 723) | func TestConcatItem_ExtractExactMatches(t *testing.T) { function TestConcatItem_ExtractRegexMatches (line 1002) | func TestConcatItem_ExtractRegexMatches(t *testing.T) { function toHighlights (line 1334) | func toHighlights(matches []Match, style lipgloss.Style) []Highlight { function TestConcatItem_ByteRangesToMatches (line 1345) | func TestConcatItem_ByteRangesToMatches(t *testing.T) { function TestConcatItem_ByteRangesToMatches_EquivalentItems (line 1480) | func TestConcatItem_ByteRangesToMatches_EquivalentItems(t *testing.T) { FILE: modules/viewport/item/item.go type Item (line 6) | type Item interface FILE: modules/viewport/item/item_bench_test.go function BenchmarkNew_Plain_10 (line 22) | func BenchmarkNew_Plain_10(b *testing.B) { function BenchmarkNew_Plain_100 (line 30) | func BenchmarkNew_Plain_100(b *testing.B) { function BenchmarkNew_Plain_1000 (line 38) | func BenchmarkNew_Plain_1000(b *testing.B) { function BenchmarkNew_Plain_10000 (line 46) | func BenchmarkNew_Plain_10000(b *testing.B) { function BenchmarkNew_ANSI_10 (line 55) | func BenchmarkNew_ANSI_10(b *testing.B) { function BenchmarkNew_ANSI_100 (line 63) | func BenchmarkNew_ANSI_100(b *testing.B) { function BenchmarkNew_ANSI_1000 (line 71) | func BenchmarkNew_ANSI_1000(b *testing.B) { function BenchmarkNew_ANSI_10000 (line 79) | func BenchmarkNew_ANSI_10000(b *testing.B) { function BenchmarkNew_Unicode_10 (line 88) | func BenchmarkNew_Unicode_10(b *testing.B) { function BenchmarkNew_Unicode_100 (line 96) | func BenchmarkNew_Unicode_100(b *testing.B) { function BenchmarkNew_Unicode_1000 (line 104) | func BenchmarkNew_Unicode_1000(b *testing.B) { function BenchmarkNew_Unicode_10000 (line 112) | func BenchmarkNew_Unicode_10000(b *testing.B) { FILE: modules/viewport/item/model.go type ByteRange (line 8) | type ByteRange struct type WidthRange (line 13) | type WidthRange struct type Match (line 18) | type Match struct type Highlight (line 24) | type Highlight struct FILE: modules/viewport/item/multiline.go type MultiLineItem (line 14) | type MultiLineItem struct method Width (line 45) | func (m MultiLineItem) Width() int { method Content (line 50) | func (m MultiLineItem) Content() string { method ContentNoAnsi (line 80) | func (m MultiLineItem) ContentNoAnsi() string { method NumWrappedLines (line 111) | func (m MultiLineItem) NumWrappedLines(wrapWidth int) int { method Take (line 127) | func (m MultiLineItem) Take( method LineBrokenItems (line 136) | func (m MultiLineItem) LineBrokenItems() []Item { method repr (line 146) | func (m MultiLineItem) repr() string { method ByteRangesToMatches (line 160) | func (m MultiLineItem) ByteRangesToMatches(byteRanges []ByteRange) []M... method ExtractExactMatches (line 182) | func (m MultiLineItem) ExtractExactMatches(exactMatch string) []Match { method ExtractRegexMatches (line 207) | func (m MultiLineItem) ExtractRegexMatches(regex *regexp.Regexp) []Mat... method computeOffsets (line 230) | func (m MultiLineItem) computeOffsets() (lineByteOffsets, lineWidthOff... method findLineForByteOffset (line 245) | func (m MultiLineItem) findLineForByteOffset(byteOffset int, lineByteO... method byteRangeToWidthRange (line 264) | func (m MultiLineItem) byteRangeToWidthRange( method NumLineBrokenItems (line 291) | func (m MultiLineItem) NumLineBrokenItems() int { method LineBrokenItem (line 296) | func (m MultiLineItem) LineBrokenItem(idx int) SingleItem { method String (line 301) | func (m MultiLineItem) String() string { function NewMultiLineItem (line 28) | func NewMultiLineItem(items ...SingleItem) MultiLineItem { FILE: modules/viewport/item/multiline_test.go function TestMultiLineItem_Width (line 10) | func TestMultiLineItem_Width(t *testing.T) { function TestMultiLineItem_Content (line 48) | func TestMultiLineItem_Content(t *testing.T) { function TestMultiLineItem_NumWrappedLines (line 89) | func TestMultiLineItem_NumWrappedLines(t *testing.T) { function TestMultiLineItem_LineBrokenItems (line 150) | func TestMultiLineItem_LineBrokenItems(t *testing.T) { function TestMultiLineItem_Take_Panics (line 165) | func TestMultiLineItem_Take_Panics(t *testing.T) { function TestMultiLineItem_ExtractExactMatches (line 175) | func TestMultiLineItem_ExtractExactMatches(t *testing.T) { function TestMultiLineItem_ExtractRegexMatches (line 251) | func TestMultiLineItem_ExtractRegexMatches(t *testing.T) { function TestMultiLineItem_Repr (line 297) | func TestMultiLineItem_Repr(t *testing.T) { function TestMultiLineItem_ByteRangesToMatches (line 305) | func TestMultiLineItem_ByteRangesToMatches(t *testing.T) { function TestMultiLineItem_ByteRangesToMatches_ConsistentWithExtract (line 434) | func TestMultiLineItem_ByteRangesToMatches_ConsistentWithExtract(t *test... FILE: modules/viewport/item/safecast.go function clampIntToUint8 (line 8) | func clampIntToUint8(val int) uint8 { function clampIntToUint32 (line 19) | func clampIntToUint32(val int) uint32 { FILE: modules/viewport/item/safecast_test.go function TestClampIntToUint8 (line 8) | func TestClampIntToUint8(t *testing.T) { function TestClampIntToUint32 (line 31) | func TestClampIntToUint32(t *testing.T) { function TestClampIntToUint32_aboveMaxOnBigPlatforms (line 55) | func TestClampIntToUint32_aboveMaxOnBigPlatforms(t *testing.T) { FILE: modules/viewport/item/single.go type SingleItem (line 14) | type SingleItem struct method Width (line 160) | func (l SingleItem) Width() int { method Content (line 168) | func (l SingleItem) Content() string { method ContentNoAnsi (line 173) | func (l SingleItem) ContentNoAnsi() string { method Take (line 178) | func (l SingleItem) Take( method NumWrappedLines (line 290) | func (l SingleItem) NumWrappedLines(wrapWidth int) int { method LineBrokenItems (line 300) | func (l SingleItem) LineBrokenItems() []Item { method repr (line 305) | func (l SingleItem) repr() string { method runeAt (line 311) | func (l SingleItem) runeAt(runeIdx int) rune { method getByteOffsetAtRuneIdx (line 326) | func (l SingleItem) getByteOffsetAtRuneIdx(runeIdx int) uint32 { method getRuneIndexAtByteOffset (line 355) | func (l SingleItem) getRuneIndexAtByteOffset(byteOffset int) int { method getRuneWidth (line 383) | func (l SingleItem) getRuneWidth(runeIdx int) uint8 { method getCumulativeWidthAtRuneIdx (line 393) | func (l SingleItem) getCumulativeWidthAtRuneIdx(runeIdx int) uint32 { method findRuneIndexWithWidthToLeft (line 419) | func (l SingleItem) findRuneIndexWithWidthToLeft(widthToLeft int) int { method ByteRangesToMatches (line 457) | func (l SingleItem) ByteRangesToMatches(byteRanges []ByteRange) []Match { method byteRangeToWidthRange (line 473) | func (l SingleItem) byteRangeToWidthRange(startByte, endByte int) (sta... method ExtractExactMatches (line 487) | func (l SingleItem) ExtractExactMatches(exactMatch string) []Match { method ExtractRegexMatches (line 509) | func (l SingleItem) ExtractRegexMatches(regex *regexp.Regexp) []Match { function extractEraseInLineFillStyle (line 38) | func extractEraseInLineFillStyle(line string) string { function NewItem (line 65) | func NewItem(line string) SingleItem { FILE: modules/viewport/item/single_test.go function TestSingle_Width (line 13) | func TestSingle_Width(t *testing.T) { function TestSingle_Content (line 51) | func TestSingle_Content(t *testing.T) { function TestSingle_Take (line 84) | func TestSingle_Take(t *testing.T) { function TestSingle_Take_EraseInLine (line 891) | func TestSingle_Take_EraseInLine(t *testing.T) { function TestSingle_NewItem_stripsNonSGR (line 982) | func TestSingle_NewItem_stripsNonSGR(t *testing.T) { function TestSingle_Take_NoAnsiLeak (line 1032) | func TestSingle_Take_NoAnsiLeak(t *testing.T) { function TestSingle_NumWrappedLines (line 1054) | func TestSingle_NumWrappedLines(t *testing.T) { function TestSingleItem_ExtractExactMatches (line 1146) | func TestSingleItem_ExtractExactMatches(t *testing.T) { function TestSingleItem_ExtractRegexMatches (line 1370) | func TestSingleItem_ExtractRegexMatches(t *testing.T) { function TestSingle_findRuneIndexWithWidthToLeft (line 1673) | func TestSingle_findRuneIndexWithWidthToLeft(t *testing.T) { function TestSingle_getByteOffsetAtRuneIdx (line 1764) | func TestSingle_getByteOffsetAtRuneIdx(t *testing.T) { function TestSingleItem_ByteRangesToMatches (line 1849) | func TestSingleItem_ByteRangesToMatches(t *testing.T) { function TestSingleItem_ByteRangesToMatches_ConsistentWithExtract (line 1993) | func TestSingleItem_ByteRangesToMatches_ConsistentWithExtract(t *testing... FILE: modules/viewport/item/string.go function overflowsLeft (line 21) | func overflowsLeft(s string, startByteIdx int, substr string) (bool, int) { function overflowsRight (line 49) | func overflowsRight(s string, endByteIdx int, substr string) (bool, int) { function replaceStartWithContinuation (line 68) | func replaceStartWithContinuation(s string, continuationRunes []rune) st... function replaceEndWithContinuation (line 131) | func replaceEndWithContinuation(s string, continuationRunes []rune) stri... function getBytesLeftOfWidth (line 192) | func getBytesLeftOfWidth(nBytes int, items []SingleItem, startItemIdx in... function getBytesRightOfWidth (line 235) | func getBytesRightOfWidth(nBytes int, items []SingleItem, endItemIdx int... FILE: modules/viewport/item/string_test.go function TestString_overflowsLeft (line 9) | func TestString_overflowsLeft(t *testing.T) { function TestString_overflowsRight (line 171) | func TestString_overflowsRight(t *testing.T) { function TestString_replaceStartWithContinuation (line 324) | func TestString_replaceStartWithContinuation(t *testing.T) { function TestString_replaceEndWithContinuation (line 420) | func TestString_replaceEndWithContinuation(t *testing.T) { function TestString_getBytesLeftOfWidth (line 516) | func TestString_getBytesLeftOfWidth(t *testing.T) { function TestString_getBytesRightOfWidth (line 636) | func TestString_getBytesRightOfWidth(t *testing.T) { FILE: modules/viewport/keymap.go type KeyMap (line 8) | type KeyMap struct function DefaultKeyMap (line 22) | func DefaultKeyMap() KeyMap { FILE: modules/viewport/navigation_manager.go type navigationManager (line 9) | type navigationManager struct method processKeyMsg (line 77) | func (nm navigationManager) processKeyMsg(msg tea.KeyMsg, ctx navigati... function newNavigationManager (line 24) | func newNavigationManager(keyMap KeyMap) *navigationManager { type navigationAction (line 34) | type navigationAction constant actionNone (line 38) | actionNone navigationAction = iota constant actionUp (line 40) | actionUp constant actionDown (line 42) | actionDown constant actionLeft (line 44) | actionLeft constant actionRight (line 46) | actionRight constant actionHalfPageUp (line 48) | actionHalfPageUp constant actionHalfPageDown (line 50) | actionHalfPageDown constant actionPageUp (line 52) | actionPageUp constant actionPageDown (line 54) | actionPageDown constant actionTop (line 56) | actionTop constant actionBottom (line 58) | actionBottom type navigationContext (line 62) | type navigationContext struct type navigationResult (line 70) | type navigationResult struct FILE: modules/viewport/object.go type Object (line 7) | type Object interface FILE: modules/viewport/styles.go type Styles (line 8) | type Styles struct function DefaultStyles (line 21) | func DefaultStyles() Styles { FILE: modules/viewport/viewport.go type CompareFn (line 46) | type CompareFn type Option (line 49) | type Option function WithKeyMap (line 52) | func WithKeyMap[T Object](keyMap KeyMap) Option[T] { function WithStyles (line 59) | func WithStyles[T Object](styles Styles) Option[T] { function WithWrapText (line 66) | func WithWrapText[T Object](wrap bool) Option[T] { function WithSelectionEnabled (line 73) | func WithSelectionEnabled[T Object](enabled bool) Option[T] { function WithFooterEnabled (line 80) | func WithFooterEnabled[T Object](enabled bool) Option[T] { function WithProgressBarEnabled (line 87) | func WithProgressBarEnabled[T Object](enabled bool) Option[T] { function WithStickyTop (line 94) | func WithStickyTop[T Object](stickyTop bool) Option[T] { function WithStickyBottom (line 101) | func WithStickyBottom[T Object](stickyBottom bool) Option[T] { function WithSelectionStyleOverridesItemStyle (line 111) | func WithSelectionStyleOverridesItemStyle[T Object](overrides bool) Opti... function WithFileSaving (line 119) | func WithFileSaving[T Object](saveDir string, saveKey key.Binding) Optio... type Model (line 127) | type Model struct function New (line 142) | func New[T Object](width, height int, opts ...Option[T]) (m *Model[T]) { method Update (line 166) | func (m *Model[T]) Update(msg tea.Msg) (*Model[T], tea.Cmd) { method View (line 316) | func (m *Model[T]) View() string { method SetObjects (line 506) | func (m *Model[T]) SetObjects(objects []T) { method SetTopSticky (line 580) | func (m *Model[T]) SetTopSticky(topSticky bool) { method SetBottomSticky (line 585) | func (m *Model[T]) SetBottomSticky(bottomSticky bool) { method SetSelectionEnabled (line 590) | func (m *Model[T]) SetSelectionEnabled(selectionEnabled bool) { method SetFooterEnabled (line 603) | func (m *Model[T]) SetFooterEnabled(footerEnabled bool) { method SetProgressBarEnabled (line 608) | func (m *Model[T]) SetProgressBarEnabled(enabled bool) { method SetPostHeaderLine (line 614) | func (m *Model[T]) SetPostHeaderLine(line string) { method SetPreFooterLine (line 620) | func (m *Model[T]) SetPreFooterLine(line string) { method GetPreFooterLine (line 625) | func (m *Model[T]) GetPreFooterLine() string { method SetSelectionComparator (line 631) | func (m *Model[T]) SetSelectionComparator(compareFn CompareFn[T]) { method GetSelectionEnabled (line 636) | func (m *Model[T]) GetSelectionEnabled() bool { method IsCapturingInput (line 643) | func (m *Model[T]) IsCapturingInput() bool { method SetWrapText (line 648) | func (m *Model[T]) SetWrapText(wrapText bool) { method GetWrapText (line 670) | func (m *Model[T]) GetWrapText() bool { method SetWidth (line 675) | func (m *Model[T]) SetWidth(width int) { method GetWidth (line 680) | func (m *Model[T]) GetWidth() int { method SetHeight (line 685) | func (m *Model[T]) SetHeight(height int) { method GetHeight (line 690) | func (m *Model[T]) GetHeight() int { method SetStyles (line 695) | func (m *Model[T]) SetStyles(styles Styles) { method GetTopItemIdxAndLineOffset (line 700) | func (m *Model[T]) GetTopItemIdxAndLineOffset() (int, int) { method SetSelectedItemIdx (line 705) | func (m *Model[T]) SetSelectedItemIdx(selectedItemIdx int) { method GetSelectedItemIdx (line 714) | func (m *Model[T]) GetSelectedItemIdx() int { method GetSelectedItem (line 722) | func (m *Model[T]) GetSelectedItem() *T { method SetHeader (line 730) | func (m *Model[T]) SetHeader(header []string) { method EnsureItemInView (line 740) | func (m *Model[T]) EnsureItemInView(itemIdx, startWidth, endWidth, verti... method clampItemAndWidthParams (line 760) | func (m *Model[T]) clampItemAndWidthParams(itemIdx, startWidth, endWidth... method ensureWrappedPortionInView (line 769) | func (m *Model[T]) ensureWrappedPortionInView(itemIdx, startWidth, endWi... method getWrappedPortionViewInfo (line 891) | func (m *Model[T]) getWrappedPortionViewInfo(itemIdx, startLineOffset, e... method targetBelowTop (line 931) | func (m *Model[T]) targetBelowTop(targetItemIdx, targetStartLineOffset i... method linesBetweenCurrentTopAndTarget (line 942) | func (m *Model[T]) linesBetweenCurrentTopAndTarget(targetItemIdx, target... method ensureUnwrappedItemVerticallyInView (line 962) | func (m *Model[T]) ensureUnwrappedItemVerticallyInView(itemIdx, vertical... method ensureUnwrappedPortionHorizontallyInView (line 1029) | func (m *Model[T]) ensureUnwrappedPortionHorizontallyInView(startWidth, ... method SetXOffset (line 1096) | func (m *Model[T]) SetXOffset(widthOffset int) { method GetXOffsetWidth (line 1105) | func (m *Model[T]) GetXOffsetWidth() int { method SetHighlights (line 1113) | func (m *Model[T]) SetHighlights(highlights []Highlight) { method GetHighlights (line 1118) | func (m *Model[T]) GetHighlights() []Highlight { method maxItemWidth (line 1122) | func (m *Model[T]) maxItemWidth() int { method numLinesForItem (line 1157) | func (m *Model[T]) numLinesForItem(itemIdx int) int { method contentWidth (line 1176) | func (m *Model[T]) contentWidth() int { method selectionPrefixPadding (line 1185) | func (m *Model[T]) selectionPrefixPadding() string { method setWidthHeight (line 1192) | func (m *Model[T]) setWidthHeight(width, height int) { method safelySetTopItemIdxAndOffset (line 1203) | func (m *Model[T]) safelySetTopItemIdxAndOffset(topItemIdx, topItemLineO... method getNumContentLines (line 1220) | func (m *Model[T]) getNumContentLines() int { method scrollSoSelectionInView (line 1224) | func (m *Model[T]) scrollSoSelectionInView() { method getItemIdxAbove (line 1250) | func (m *Model[T]) getItemIdxAbove(startItemIdx, startLineOffset, linesT... method getItemIdxBelow (line 1270) | func (m *Model[T]) getItemIdxBelow(startItemIdx, linesToConsume int) (fi... method scrollDownLines (line 1289) | func (m *Model[T]) scrollDownLines(numLinesDown int) { method getVisibleHeaderLines (line 1336) | func (m *Model[T]) getVisibleHeaderLines() []string { method getVisibleContentItemIndexes (line 1392) | func (m *Model[T]) getVisibleContentItemIndexes() []int { method getItemIndexesSpanningLines (line 1432) | func (m *Model[T]) getItemIndexesSpanningLines( method getTruncatedFooterLine (line 1500) | func (m *Model[T]) getTruncatedFooterLine(visibleContentItemIndexes []in... method isScrolledToBottom (line 1544) | func (m *Model[T]) isScrolledToBottom() bool { method isScrolledToTop (line 1556) | func (m *Model[T]) isScrolledToTop() bool { type selectionInViewInfoResult (line 1560) | type selectionInViewInfoResult struct method selectionInViewInfo (line 1565) | func (m *Model[T]) selectionInViewInfo() selectionInViewInfoResult { method maxItemIdxAndMaxTopLineOffset (line 1588) | func (m *Model[T]) maxItemIdxAndMaxTopLineOffset() (int, int) { method getHighlightsForItem (line 1623) | func (m *Model[T]) getHighlightsForItem(itemIndex int) []item.Highlight { method getNumVisibleItems (line 1627) | func (m *Model[T]) getNumVisibleItems() int { method selectionHighlights (line 1643) | func (m *Model[T]) selectionHighlights(itemIdx int, matchHighlights []it... method styleSelection (line 1684) | func (m *Model[T]) styleSelection(selection string) string { type fileSavedMsg (line 1702) | type fileSavedMsg struct type clearSaveResultMsg (line 1708) | type clearSaveResultMsg struct method saveToFile (line 1711) | func (m *Model[T]) saveToFile(filename string) tea.Cmd { function decomposeLineOffset (line 1739) | func decomposeLineOffset(segments []item.Item, lineOffset, wrapWidth int... function remapHighlightsForSegment (line 1757) | func remapHighlightsForSegment(highlights []item.Highlight, segments []i... function lineOffsetForCellPosition (line 1787) | func lineOffsetForCellPosition(segments []item.Item, cellPos, wrapWidth ... function percent (line 1810) | func percent(a, b int) int { function buildProgressBar (line 1819) | func buildProgressBar(percentScrolled, barWidth int) string { function safeSliceUpToIdx (line 1827) | func safeSliceUpToIdx[T any](s []T, i int) []T { function clampValZeroToMax (line 1837) | func clampValZeroToMax(v, maximum int) int { FILE: modules/viewport/viewport_multiline_test.go type multiLineObject (line 11) | type multiLineObject struct method GetItem (line 15) | func (o multiLineObject) GetItem() item.Item { function setMixedContent (line 21) | func setMixedContent(vp *Model[object], items []item.Item) { function TestViewport_MultiLine_WrapOn_Basic (line 29) | func TestViewport_MultiLine_WrapOn_Basic(t *testing.T) { function TestViewport_MultiLine_WrapOn_SelectionMovement (line 59) | func TestViewport_MultiLine_WrapOn_SelectionMovement(t *testing.T) { function TestViewport_MultiLine_WrapOn_EmptySegment (line 100) | func TestViewport_MultiLine_WrapOn_EmptySegment(t *testing.T) { function TestViewport_MultiLine_WrapOn_SegmentWrapping (line 128) | func TestViewport_MultiLine_WrapOn_SegmentWrapping(t *testing.T) { function TestViewport_MultiLine_WrapOn_ScrollDown (line 156) | func TestViewport_MultiLine_WrapOn_ScrollDown(t *testing.T) { function TestViewport_MultiLine_WrapOn_NoSelection (line 194) | func TestViewport_MultiLine_WrapOn_NoSelection(t *testing.T) { function TestViewport_MultiLine_WrapOn_SingleLineItemsUnchanged (line 220) | func TestViewport_MultiLine_WrapOn_SingleLineItemsUnchanged(t *testing.T) { function TestViewport_MultiLine_WrapOn_MultipleMultiLineItems (line 244) | func TestViewport_MultiLine_WrapOn_MultipleMultiLineItems(t *testing.T) { FILE: modules/viewport/viewport_no_selection_no_wrap_test.go function TestViewport_SelectionOff_WrapOff_Empty (line 11) | func TestViewport_SelectionOff_WrapOff_Empty(t *testing.T) { function TestViewport_SelectionOff_WrapOff_SmolDimensions (line 21) | func TestViewport_SelectionOff_WrapOff_SmolDimensions(t *testing.T) { function TestViewport_SelectionOff_WrapOff_Basic (line 45) | func TestViewport_SelectionOff_WrapOff_Basic(t *testing.T) { function TestViewport_SelectionOff_WrapOff_GetConfigs (line 66) | func TestViewport_SelectionOff_WrapOff_GetConfigs(t *testing.T) { function TestViewport_SelectionOff_WrapOff_ShowFooter (line 88) | func TestViewport_SelectionOff_WrapOff_ShowFooter(t *testing.T) { function TestViewport_SelectionOff_WrapOff_FooterStyle (line 131) | func TestViewport_SelectionOff_WrapOff_FooterStyle(t *testing.T) { function TestViewport_SelectionOff_WrapOff_FooterDisabled (line 154) | func TestViewport_SelectionOff_WrapOff_FooterDisabled(t *testing.T) { function TestViewport_SelectionOff_WrapOff_SpaceAround (line 184) | func TestViewport_SelectionOff_WrapOff_SpaceAround(t *testing.T) { function TestViewport_SelectionOff_WrapOff_MultiHeader (line 203) | func TestViewport_SelectionOff_WrapOff_MultiHeader(t *testing.T) { function TestViewport_SelectionOff_WrapOff_OverflowLine (line 264) | func TestViewport_SelectionOff_WrapOff_OverflowLine(t *testing.T) { function TestViewport_SelectionOff_WrapOff_OverflowHeight (line 282) | func TestViewport_SelectionOff_WrapOff_OverflowHeight(t *testing.T) { function TestViewport_SelectionOff_WrapOff_Scrolling (line 305) | func TestViewport_SelectionOff_WrapOff_Scrolling(t *testing.T) { function TestViewport_SelectionOff_WrapOff_EnsureItemInView (line 369) | func TestViewport_SelectionOff_WrapOff_EnsureItemInView(t *testing.T) { function TestViewport_SelectionOff_WrapOff_EnsureItemInViewVerticalPad (line 447) | func TestViewport_SelectionOff_WrapOff_EnsureItemInViewVerticalPad(t *te... function TestViewport_SelectionOff_WrapOff_EnsureItemInViewHorizontalPad (line 535) | func TestViewport_SelectionOff_WrapOff_EnsureItemInViewHorizontalPad(t *... function TestViewport_SelectionOff_WrapOff_SetXOffset (line 581) | func TestViewport_SelectionOff_WrapOff_SetXOffset(t *testing.T) { function TestViewport_SelectionOff_WrapOff_BulkScrolling (line 625) | func TestViewport_SelectionOff_WrapOff_BulkScrolling(t *testing.T) { function TestViewport_SelectionOff_WrapOff_Panning (line 726) | func TestViewport_SelectionOff_WrapOff_Panning(t *testing.T) { function TestViewport_SelectionOff_WrapOff_ChangeHeight (line 820) | func TestViewport_SelectionOff_WrapOff_ChangeHeight(t *testing.T) { function TestViewport_SelectionOff_WrapOff_ChangeContent (line 888) | func TestViewport_SelectionOff_WrapOff_ChangeContent(t *testing.T) { function TestViewport_SelectionOff_WrapOff_SetSelectionEnabled_SetsTopVisibleItem (line 944) | func TestViewport_SelectionOff_WrapOff_SetSelectionEnabled_SetsTopVisibl... function TestViewport_SelectionOff_WrapOff_SetHighlights (line 967) | func TestViewport_SelectionOff_WrapOff_SetHighlights(t *testing.T) { function TestViewport_SelectionOff_WrapOff_SetHighlightsStyledContent (line 1010) | func TestViewport_SelectionOff_WrapOff_SetHighlightsStyledContent(t *tes... function TestViewport_SelectionOff_WrapOff_SetHighlightsAnsiUnicode (line 1053) | func TestViewport_SelectionOff_WrapOff_SetHighlightsAnsiUnicode(t *testi... FILE: modules/viewport/viewport_no_selection_wrap_test.go function TestViewport_SelectionOff_WrapOn_Empty (line 13) | func TestViewport_SelectionOff_WrapOn_Empty(t *testing.T) { function TestViewport_SelectionOff_WrapOn_SmolDimensions (line 24) | func TestViewport_SelectionOff_WrapOn_SmolDimensions(t *testing.T) { function TestViewport_SelectionOff_WrapOn_Basic (line 54) | func TestViewport_SelectionOff_WrapOn_Basic(t *testing.T) { function TestViewport_SelectionOff_WrapOn_GetConfigs (line 76) | func TestViewport_SelectionOff_WrapOn_GetConfigs(t *testing.T) { function TestViewport_SelectionOff_WrapOn_ShowFooter (line 99) | func TestViewport_SelectionOff_WrapOn_ShowFooter(t *testing.T) { function TestViewport_SelectionOff_WrapOn_FooterStyle (line 149) | func TestViewport_SelectionOff_WrapOn_FooterStyle(t *testing.T) { function TestViewport_SelectionOff_WrapOn_FooterDisabled (line 173) | func TestViewport_SelectionOff_WrapOn_FooterDisabled(t *testing.T) { function TestViewport_SelectionOff_WrapOn_SpaceAround (line 204) | func TestViewport_SelectionOff_WrapOn_SpaceAround(t *testing.T) { function TestViewport_SelectionOff_WrapOn_MultiHeader (line 225) | func TestViewport_SelectionOff_WrapOn_MultiHeader(t *testing.T) { function TestViewport_SelectionOff_WrapOn_OverflowLine (line 287) | func TestViewport_SelectionOff_WrapOn_OverflowLine(t *testing.T) { function TestViewport_SelectionOff_WrapOn_OverflowHeight (line 307) | func TestViewport_SelectionOff_WrapOn_OverflowHeight(t *testing.T) { function TestViewport_SelectionOff_WrapOn_Scrolling (line 331) | func TestViewport_SelectionOff_WrapOn_Scrolling(t *testing.T) { function TestViewport_SelectionOff_WrapOn_EnsureItemInView (line 396) | func TestViewport_SelectionOff_WrapOn_EnsureItemInView(t *testing.T) { function TestViewport_SelectionOff_WrapOn_EnsureItemInViewVerticalPad (line 473) | func TestViewport_SelectionOff_WrapOn_EnsureItemInViewVerticalPad(t *tes... function TestViewport_SelectionOff_WrapOn_EnsureItemInViewHorizontalPad (line 586) | func TestViewport_SelectionOff_WrapOn_EnsureItemInViewHorizontalPad(t *t... function TestViewport_SelectionOff_WrapOn_SetXOffset (line 639) | func TestViewport_SelectionOff_WrapOn_SetXOffset(t *testing.T) { function TestViewport_SelectionOff_WrapOn_BulkScrolling (line 673) | func TestViewport_SelectionOff_WrapOn_BulkScrolling(t *testing.T) { function TestViewport_SelectionOff_WrapOn_Panning (line 772) | func TestViewport_SelectionOff_WrapOn_Panning(t *testing.T) { function TestViewport_SelectionOff_WrapOn_ChangeHeight (line 853) | func TestViewport_SelectionOff_WrapOn_ChangeHeight(t *testing.T) { function TestViewport_SelectionOff_WrapOn_ChangeContent (line 915) | func TestViewport_SelectionOff_WrapOn_ChangeContent(t *testing.T) { function TestViewport_SelectionOff_WrapOn_SuperLongWrappedLine (line 980) | func TestViewport_SelectionOff_WrapOn_SuperLongWrappedLine(t *testing.T) { function TestViewport_SelectionOff_WrapOn_EnableSelectionShowsTopLineInItem (line 1033) | func TestViewport_SelectionOff_WrapOn_EnableSelectionShowsTopLineInItem(... function TestViewport_SelectionOff_WrapOn_SetHighlights (line 1062) | func TestViewport_SelectionOff_WrapOn_SetHighlights(t *testing.T) { function TestViewport_SelectionOff_WrapOn_SetHighlightsStyledContent (line 1105) | func TestViewport_SelectionOff_WrapOn_SetHighlightsStyledContent(t *test... function TestViewport_SelectionOff_WrapOn_SetHighlightsAnsiUnicode (line 1148) | func TestViewport_SelectionOff_WrapOn_SetHighlightsAnsiUnicode(t *testin... FILE: modules/viewport/viewport_postheader_test.go function TestPostHeaderLineWithFooterEnabled (line 9) | func TestPostHeaderLineWithFooterEnabled(t *testing.T) { function TestPostHeaderLineWithFooterDisabled (line 40) | func TestPostHeaderLineWithFooterDisabled(t *testing.T) { function TestEmptyPostHeaderLine (line 72) | func TestEmptyPostHeaderLine(t *testing.T) { function TestPostHeaderLineTruncation (line 94) | func TestPostHeaderLineTruncation(t *testing.T) { function TestPostHeaderLineSmallHeight (line 113) | func TestPostHeaderLineSmallHeight(t *testing.T) { function TestPostHeaderLineWithHeader (line 132) | func TestPostHeaderLineWithHeader(t *testing.T) { function TestPostHeaderLineDynamicToggle (line 156) | func TestPostHeaderLineDynamicToggle(t *testing.T) { function TestPostHeaderLineReducesContentLines (line 203) | func TestPostHeaderLineReducesContentLines(t *testing.T) { function TestPostHeaderLineWithWrap (line 236) | func TestPostHeaderLineWithWrap(t *testing.T) { function TestPostHeaderLineScrolling (line 257) | func TestPostHeaderLineScrolling(t *testing.T) { function TestPostHeaderLineStyled (line 292) | func TestPostHeaderLineStyled(t *testing.T) { function TestPostHeaderLineDoesNotWrap (line 313) | func TestPostHeaderLineDoesNotWrap(t *testing.T) { function TestPostHeaderLineWithPreFooterLine (line 336) | func TestPostHeaderLineWithPreFooterLine(t *testing.T) { function TestPostHeaderLineWithHeaderAndPreFooter (line 361) | func TestPostHeaderLineWithHeaderAndPreFooter(t *testing.T) { function TestPostHeaderLineExactWidth (line 389) | func TestPostHeaderLineExactWidth(t *testing.T) { function TestPostHeaderLineOneCharOverWidth (line 408) | func TestPostHeaderLineOneCharOverWidth(t *testing.T) { FILE: modules/viewport/viewport_prefooter_test.go function TestPreFooterLineWithFooterEnabled (line 9) | func TestPreFooterLineWithFooterEnabled(t *testing.T) { function TestPreFooterLineWithFooterDisabled (line 40) | func TestPreFooterLineWithFooterDisabled(t *testing.T) { function TestEmptyPreFooterLine (line 72) | func TestEmptyPreFooterLine(t *testing.T) { function TestPreFooterLineTruncation (line 99) | func TestPreFooterLineTruncation(t *testing.T) { function TestPreFooterLineSmallHeight (line 118) | func TestPreFooterLineSmallHeight(t *testing.T) { function TestPreFooterLineWithHeader (line 137) | func TestPreFooterLineWithHeader(t *testing.T) { function TestPreFooterLineDynamicToggle (line 160) | func TestPreFooterLineDynamicToggle(t *testing.T) { function TestPreFooterLineGetterSetter (line 207) | func TestPreFooterLineGetterSetter(t *testing.T) { function TestPreFooterLineReducesContentLines (line 229) | func TestPreFooterLineReducesContentLines(t *testing.T) { function TestPreFooterLineWithWrap (line 262) | func TestPreFooterLineWithWrap(t *testing.T) { function TestPreFooterLineScrolling (line 283) | func TestPreFooterLineScrolling(t *testing.T) { function TestPreFooterLineStyled (line 318) | func TestPreFooterLineStyled(t *testing.T) { function TestPreFooterLineStyledTruncation (line 339) | func TestPreFooterLineStyledTruncation(t *testing.T) { function TestPreFooterLineDoesNotWrap (line 361) | func TestPreFooterLineDoesNotWrap(t *testing.T) { function TestPreFooterLineDoesNotWrapWithWrappedContent (line 384) | func TestPreFooterLineDoesNotWrapWithWrappedContent(t *testing.T) { function TestPreFooterLineStyledWithWrap (line 408) | func TestPreFooterLineStyledWithWrap(t *testing.T) { function TestPreFooterLineExactWidth (line 431) | func TestPreFooterLineExactWidth(t *testing.T) { function TestPreFooterLineOneCharOverWidth (line 450) | func TestPreFooterLineOneCharOverWidth(t *testing.T) { function TestPreFooterLineUnicode (line 469) | func TestPreFooterLineUnicode(t *testing.T) { function TestPreFooterLineUnicodeTruncation (line 488) | func TestPreFooterLineUnicodeTruncation(t *testing.T) { FILE: modules/viewport/viewport_progressbar_test.go function TestProgressBarDefaultDisabled (line 9) | func TestProgressBarDefaultDisabled(t *testing.T) { function TestProgressBarEnabled100Percent (line 24) | func TestProgressBarEnabled100Percent(t *testing.T) { function TestProgressBarEnabledPartialScrolling (line 40) | func TestProgressBarEnabledPartialScrolling(t *testing.T) { function TestProgressBarTooNarrowOmitted (line 103) | func TestProgressBarTooNarrowOmitted(t *testing.T) { function TestProgressBarMinimumWidth (line 119) | func TestProgressBarMinimumWidth(t *testing.T) { function TestProgressBarToggle (line 135) | func TestProgressBarToggle(t *testing.T) { function TestBuildProgressBar (line 163) | func TestBuildProgressBar(t *testing.T) { FILE: modules/viewport/viewport_saving_test.go type saveTestObject (line 17) | type saveTestObject struct method GetItem (line 21) | func (o saveTestObject) GetItem() item.Item { function newSaveTestViewport (line 32) | func newSaveTestViewport(t *testing.T) (*Model[saveTestObject], string) { function setSaveTestContent (line 42) | func setSaveTestContent(vp *Model[saveTestObject], lines []string) { function TestFileSaving_PressingSaveKeyEntersFilenameMode (line 50) | func TestFileSaving_PressingSaveKeyEntersFilenameMode(t *testing.T) { function TestFileSaving_EscapeCancelsFilenameEntry (line 74) | func TestFileSaving_EscapeCancelsFilenameEntry(t *testing.T) { function TestFileSaving_EnterWithEmptyInputUsesTimestampDefault (line 96) | func TestFileSaving_EnterWithEmptyInputUsesTimestampDefault(t *testing.T) { function TestFileSaving_EnterWithCustomFilename (line 163) | func TestFileSaving_EnterWithCustomFilename(t *testing.T) { function TestFileSaving_CustomFilenameWithExtension (line 200) | func TestFileSaving_CustomFilenameWithExtension(t *testing.T) { function TestFileSaving_ContentStripsAnsiCodes (line 222) | func TestFileSaving_ContentStripsAnsiCodes(t *testing.T) { function TestFileSaving_SuccessMessageShownAfterSave (line 256) | func TestFileSaving_SuccessMessageShownAfterSave(t *testing.T) { function TestFileSaving_ErrorMessageShownOnFailure (line 284) | func TestFileSaving_ErrorMessageShownOnFailure(t *testing.T) { function TestFileSaving_IgnoresSaveKeyWhenAlreadyCapturingInput (line 302) | func TestFileSaving_IgnoresSaveKeyWhenAlreadyCapturingInput(t *testing.T) { function TestFileSaving_TextInputReceivesKeyMessages (line 338) | func TestFileSaving_TextInputReceivesKeyMessages(t *testing.T) { function TestFileSaving_NoSaveDirConfigured (line 360) | func TestFileSaving_NoSaveDirConfigured(t *testing.T) { function TestFileSaving_IsCapturingInputReturnsFalse_Initially (line 375) | func TestFileSaving_IsCapturingInputReturnsFalse_Initially(t *testing.T) { function TestFileSaving_IsCapturingInputReturnsFalse_AfterSaveComplete (line 383) | func TestFileSaving_IsCapturingInputReturnsFalse_AfterSaveComplete(t *te... function TestFileSaving_NavigationKeysIgnoredDuringFilenameEntry (line 399) | func TestFileSaving_NavigationKeysIgnoredDuringFilenameEntry(t *testing.... function TestFileSaving_CreatesDirIfNotExists (line 423) | func TestFileSaving_CreatesDirIfNotExists(t *testing.T) { FILE: modules/viewport/viewport_selection_no_wrap_test.go function TestViewport_SelectionOn_WrapOff_Empty (line 12) | func TestViewport_SelectionOn_WrapOff_Empty(t *testing.T) { function TestViewport_SelectionOn_WrapOff_SmolDimensions (line 23) | func TestViewport_SelectionOn_WrapOff_SmolDimensions(t *testing.T) { function TestViewport_SelectionOn_WrapOff_Basic (line 52) | func TestViewport_SelectionOn_WrapOff_Basic(t *testing.T) { function TestViewport_SelectionOn_WrapOff_GetConfigs (line 74) | func TestViewport_SelectionOn_WrapOff_GetConfigs(t *testing.T) { function TestViewport_SelectionOn_WrapOff_ShowFooter (line 101) | func TestViewport_SelectionOn_WrapOff_ShowFooter(t *testing.T) { function TestViewport_SelectionOn_WrapOff_FooterStyle (line 145) | func TestViewport_SelectionOn_WrapOff_FooterStyle(t *testing.T) { function TestViewport_SelectionOn_WrapOff_FooterDisabled (line 169) | func TestViewport_SelectionOn_WrapOff_FooterDisabled(t *testing.T) { function TestViewport_SelectionOn_WrapOff_SpaceAround (line 200) | func TestViewport_SelectionOn_WrapOff_SpaceAround(t *testing.T) { function TestViewport_SelectionOn_WrapOff_MultiHeader (line 220) | func TestViewport_SelectionOn_WrapOff_MultiHeader(t *testing.T) { function TestViewport_SelectionOn_WrapOff_OverflowLine (line 282) | func TestViewport_SelectionOn_WrapOff_OverflowLine(t *testing.T) { function TestViewport_SelectionOn_WrapOff_OverflowHeight (line 301) | func TestViewport_SelectionOn_WrapOff_OverflowHeight(t *testing.T) { function TestViewport_SelectionOn_WrapOff_Scrolling (line 325) | func TestViewport_SelectionOn_WrapOff_Scrolling(t *testing.T) { function TestViewport_SelectionOn_WrapOff_EnsureItemInView (line 393) | func TestViewport_SelectionOn_WrapOff_EnsureItemInView(t *testing.T) { function TestViewport_SelectionOn_WrapOff_EnsureItemInViewVerticalPad (line 457) | func TestViewport_SelectionOn_WrapOff_EnsureItemInViewVerticalPad(t *tes... function TestViewport_SelectionOn_WrapOff_EnsureItemInViewHorizontalPad (line 554) | func TestViewport_SelectionOn_WrapOff_EnsureItemInViewHorizontalPad(t *t... function TestViewport_SelectionOn_WrapOff_SetXOffset (line 602) | func TestViewport_SelectionOn_WrapOff_SetXOffset(t *testing.T) { function TestViewport_SelectionOn_WrapOff_BulkScrolling (line 647) | func TestViewport_SelectionOn_WrapOff_BulkScrolling(t *testing.T) { function TestViewport_SelectionOn_WrapOff_Panning (line 759) | func TestViewport_SelectionOn_WrapOff_Panning(t *testing.T) { function TestViewport_SelectionOn_WrapOff_MaintainSelection (line 950) | func TestViewport_SelectionOn_WrapOff_MaintainSelection(t *testing.T) { function TestViewport_SelectionOn_WrapOff_StickyTop (line 1036) | func TestViewport_SelectionOn_WrapOff_StickyTop(t *testing.T) { function TestViewport_SelectionOn_WrapOff_StickyBottom (line 1093) | func TestViewport_SelectionOn_WrapOff_StickyBottom(t *testing.T) { function TestViewport_SelectionOn_WrapOff_StickyBottomOverflowHeight (line 1150) | func TestViewport_SelectionOn_WrapOff_StickyBottomOverflowHeight(t *test... function TestViewport_SelectionOn_WrapOff_StickyTopBottom (line 1180) | func TestViewport_SelectionOn_WrapOff_StickyTopBottom(t *testing.T) { function TestViewport_SelectionOff_WrapOff_StickyTop (line 1263) | func TestViewport_SelectionOff_WrapOff_StickyTop(t *testing.T) { function TestViewport_SelectionOff_WrapOff_StickyBottom (line 1318) | func TestViewport_SelectionOff_WrapOff_StickyBottom(t *testing.T) { function TestViewport_SelectionOff_WrapOff_StickyBottomOverflowHeight (line 1369) | func TestViewport_SelectionOff_WrapOff_StickyBottomOverflowHeight(t *tes... function TestViewport_SelectionOff_WrapOff_StickyTopBottom (line 1397) | func TestViewport_SelectionOff_WrapOff_StickyTopBottom(t *testing.T) { function TestViewport_SelectionOn_WrapOff_RemoveLogsWhenSelectionBottom (line 1472) | func TestViewport_SelectionOn_WrapOff_RemoveLogsWhenSelectionBottom(t *t... function TestViewport_SelectionOn_WrapOff_ChangeHeight (line 1514) | func TestViewport_SelectionOn_WrapOff_ChangeHeight(t *testing.T) { function TestViewport_SelectionOn_WrapOff_ChangeContent (line 1626) | func TestViewport_SelectionOn_WrapOff_ChangeContent(t *testing.T) { function TestViewport_SelectionOn_WrapOff_AnsiOnSelection (line 1698) | func TestViewport_SelectionOn_WrapOff_AnsiOnSelection(t *testing.T) { function TestViewport_SelectionOn_WrapOff_AnsiOnSelection_NoOverride (line 1716) | func TestViewport_SelectionOn_WrapOff_AnsiOnSelection_NoOverride(t *test... function TestViewport_SelectionOn_WrapOff_SelectionEmpty (line 1734) | func TestViewport_SelectionOn_WrapOff_SelectionEmpty(t *testing.T) { function TestViewport_SelectionOn_WrapOff_ExtraSlash (line 1752) | func TestViewport_SelectionOn_WrapOff_ExtraSlash(t *testing.T) { function TestViewport_SelectionOn_WrapOff_SetHighlights (line 1770) | func TestViewport_SelectionOn_WrapOff_SetHighlights(t *testing.T) { function TestViewport_SelectionOn_WrapOff_SetHighlightsStyledContent (line 1814) | func TestViewport_SelectionOn_WrapOff_SetHighlightsStyledContent(t *test... function TestViewport_SelectionOn_WrapOff_SetHighlightsStyledContent_NoOverride (line 1858) | func TestViewport_SelectionOn_WrapOff_SetHighlightsStyledContent_NoOverr... function TestViewport_SelectionOn_WrapOff_SetHighlightsAnsiUnicode (line 1902) | func TestViewport_SelectionOn_WrapOff_SetHighlightsAnsiUnicode(t *testin... function TestViewport_SelectionPrefix_Basic (line 1934) | func TestViewport_SelectionPrefix_Basic(t *testing.T) { function TestViewport_SelectionPrefix_NoColor (line 1983) | func TestViewport_SelectionPrefix_NoColor(t *testing.T) { function TestViewport_SelectionOn_WrapOff_SetSameDimensionsPreservesScrollPosition (line 2008) | func TestViewport_SelectionOn_WrapOff_SetSameDimensionsPreservesScrollPo... function TestViewport_SelectionOn_WrapOff_ChangeHeightPreservesSelectionPosition (line 2046) | func TestViewport_SelectionOn_WrapOff_ChangeHeightPreservesSelectionPosi... function TestViewport_SelectionPrefix_EmptyPrefix (line 2104) | func TestViewport_SelectionPrefix_EmptyPrefix(t *testing.T) { FILE: modules/viewport/viewport_selection_wrap_test.go function TestViewport_SelectionOn_WrapOn_Empty (line 14) | func TestViewport_SelectionOn_WrapOn_Empty(t *testing.T) { function TestViewport_SelectionOn_WrapOn_SmolDimensions (line 26) | func TestViewport_SelectionOn_WrapOn_SmolDimensions(t *testing.T) { function TestViewport_SelectionOn_WrapOn_Basic (line 62) | func TestViewport_SelectionOn_WrapOn_Basic(t *testing.T) { function TestViewport_SelectionOn_WrapOn_GetConfigs (line 85) | func TestViewport_SelectionOn_WrapOn_GetConfigs(t *testing.T) { function TestViewport_SelectionOn_WrapOn_ShowFooter (line 113) | func TestViewport_SelectionOn_WrapOn_ShowFooter(t *testing.T) { function TestViewport_SelectionOn_WrapOn_FooterStyle (line 164) | func TestViewport_SelectionOn_WrapOn_FooterStyle(t *testing.T) { function TestViewport_SelectionOn_WrapOn_FooterDisabled (line 189) | func TestViewport_SelectionOn_WrapOn_FooterDisabled(t *testing.T) { function TestViewport_SelectionOn_WrapOn_SpaceAround (line 221) | func TestViewport_SelectionOn_WrapOn_SpaceAround(t *testing.T) { function TestViewport_SelectionOn_WrapOn_MultiHeader (line 243) | func TestViewport_SelectionOn_WrapOn_MultiHeader(t *testing.T) { function TestViewport_SelectionOn_WrapOn_OverflowLine (line 306) | func TestViewport_SelectionOn_WrapOn_OverflowLine(t *testing.T) { function TestViewport_SelectionOn_WrapOn_OverflowHeight (line 327) | func TestViewport_SelectionOn_WrapOn_OverflowHeight(t *testing.T) { function TestViewport_SelectionOn_WrapOn_Scrolling (line 353) | func TestViewport_SelectionOn_WrapOn_Scrolling(t *testing.T) { function TestViewport_SelectionOn_WrapOn_EnsureItemInView (line 433) | func TestViewport_SelectionOn_WrapOn_EnsureItemInView(t *testing.T) { function TestViewport_SelectionOn_WrapOn_EnsureItemInViewVerticalPad (line 511) | func TestViewport_SelectionOn_WrapOn_EnsureItemInViewVerticalPad(t *test... function TestViewport_SelectionOn_WrapOn_EnsureItemInViewNoOscillation (line 645) | func TestViewport_SelectionOn_WrapOn_EnsureItemInViewNoOscillation(t *te... function TestViewport_SelectionOn_WrapOn_EnsureItemInViewHorizontalPad (line 702) | func TestViewport_SelectionOn_WrapOn_EnsureItemInViewHorizontalPad(t *te... function TestViewport_SelectionOn_WrapOn_SetXOffset (line 757) | func TestViewport_SelectionOn_WrapOn_SetXOffset(t *testing.T) { function TestViewport_SelectionOn_WrapOn_BulkScrolling (line 793) | func TestViewport_SelectionOn_WrapOn_BulkScrolling(t *testing.T) { function TestViewport_SelectionOn_WrapOn_Panning (line 881) | func TestViewport_SelectionOn_WrapOn_Panning(t *testing.T) { function TestViewport_SelectionOn_WrapOn_MaintainSelection (line 1054) | func TestViewport_SelectionOn_WrapOn_MaintainSelection(t *testing.T) { function TestViewport_SelectionOn_WrapOn_StickyTop (line 1145) | func TestViewport_SelectionOn_WrapOn_StickyTop(t *testing.T) { function TestViewport_SelectionOn_WrapOn_StickyBottom (line 1203) | func TestViewport_SelectionOn_WrapOn_StickyBottom(t *testing.T) { function TestViewport_SelectionOn_WrapOn_StickyBottomOverflowHeight (line 1286) | func TestViewport_SelectionOn_WrapOn_StickyBottomOverflowHeight(t *testi... function TestViewport_SelectionOn_WrapOn_StickyTopBottom (line 1317) | func TestViewport_SelectionOn_WrapOn_StickyTopBottom(t *testing.T) { function TestViewport_SelectionOn_WrapOn_StickyBottomLongLine (line 1401) | func TestViewport_SelectionOn_WrapOn_StickyBottomLongLine(t *testing.T) { function TestViewport_SelectionOff_WrapOn_StickyTop (line 1448) | func TestViewport_SelectionOff_WrapOn_StickyTop(t *testing.T) { function TestViewport_SelectionOff_WrapOn_StickyBottom (line 1500) | func TestViewport_SelectionOff_WrapOn_StickyBottom(t *testing.T) { function TestViewport_SelectionOff_WrapOn_StickyBottomOverflowHeight (line 1576) | func TestViewport_SelectionOff_WrapOn_StickyBottomOverflowHeight(t *test... function TestViewport_SelectionOff_WrapOn_StickyBottomLongLine (line 1604) | func TestViewport_SelectionOff_WrapOn_StickyBottomLongLine(t *testing.T) { function TestViewport_SelectionOn_WrapOn_RemoveLogsWhenSelectionBottom (line 1647) | func TestViewport_SelectionOn_WrapOn_RemoveLogsWhenSelectionBottom(t *te... function TestViewport_SelectionOn_WrapOn_ChangeHeight (line 1689) | func TestViewport_SelectionOn_WrapOn_ChangeHeight(t *testing.T) { function TestViewport_SelectionOn_WrapOn_ChangeContent (line 1784) | func TestViewport_SelectionOn_WrapOn_ChangeContent(t *testing.T) { function TestViewport_SelectionOn_WrapOn_AnsiOnSelection (line 1858) | func TestViewport_SelectionOn_WrapOn_AnsiOnSelection(t *testing.T) { function TestViewport_SelectionOn_WrapOn_AnsiOnSelection_NoOverride (line 1877) | func TestViewport_SelectionOn_WrapOn_AnsiOnSelection_NoOverride(t *testi... function TestViewport_SelectionOn_WrapOn_SelectionEmpty (line 1896) | func TestViewport_SelectionOn_WrapOn_SelectionEmpty(t *testing.T) { function TestViewport_SelectionOn_WrapOn_ExtraSlash (line 1915) | func TestViewport_SelectionOn_WrapOn_ExtraSlash(t *testing.T) { function TestViewport_SelectionOn_WrapOn_SuperLongWrappedLine (line 1934) | func TestViewport_SelectionOn_WrapOn_SuperLongWrappedLine(t *testing.T) { function TestViewport_SelectionOn_WrapOn_SetHighlights (line 1978) | func TestViewport_SelectionOn_WrapOn_SetHighlights(t *testing.T) { function TestViewport_SelectionOn_WrapOn_SetHighlightsStyledContent (line 2022) | func TestViewport_SelectionOn_WrapOn_SetHighlightsStyledContent(t *testi... function TestViewport_SelectionOn_WrapOn_SetHighlightsAnsiUnicode (line 2066) | func TestViewport_SelectionOn_WrapOn_SetHighlightsAnsiUnicode(t *testing... function TestViewport_StyleOverlay (line 2101) | func TestViewport_StyleOverlay(t *testing.T) { function TestViewport_SelectionOn_ToggleWrap_PreserveSelection (line 2160) | func TestViewport_SelectionOn_ToggleWrap_PreserveSelection(t *testing.T) { function TestViewport_SelectionOn_ToggleWrap_PreserveSelectionInView (line 2261) | func TestViewport_SelectionOn_ToggleWrap_PreserveSelectionInView(t *test... function TestViewport_SelectionOn_ToggleWrap_ScrollInBounds (line 2308) | func TestViewport_SelectionOn_ToggleWrap_ScrollInBounds(t *testing.T) { function TestViewport_SelectionPrefix_WrapOn_Basic (line 2352) | func TestViewport_SelectionPrefix_WrapOn_Basic(t *testing.T) { function TestViewport_SelectionPrefix_WrapOn_LongItemWraps (line 2392) | func TestViewport_SelectionPrefix_WrapOn_LongItemWraps(t *testing.T) { function TestViewport_SelectionPrefix_WrapOn_WithHeader (line 2434) | func TestViewport_SelectionPrefix_WrapOn_WithHeader(t *testing.T) { function TestViewport_SelectionPrefix_WrapOn_NoColor (line 2460) | func TestViewport_SelectionPrefix_WrapOn_NoColor(t *testing.T) { function TestViewport_SelectionOn_WrapOn_SetSameDimensionsPreservesScrollPosition (line 2488) | func TestViewport_SelectionOn_WrapOn_SetSameDimensionsPreservesScrollPos... function TestViewport_SelectionOn_WrapOn_ChangeHeightPreservesSelectionPosition (line 2527) | func TestViewport_SelectionOn_WrapOn_ChangeHeightPreservesSelectionPosit... function setContent (line 2586) | func setContent(vp *Model[object], content []string) { FILE: modules/viewport/viewport_test_util_test.go type object (line 9) | type object struct method GetItem (line 13) | func (i object) GetItem() item.Item { function objectsEqual (line 17) | func objectsEqual(a, b object) bool { function newViewport (line 38) | func newViewport(width, height int, options ...Option[object]) *Model[ob... FILE: modules/wildmatch/wildmatch.go type opt (line 13) | type opt constant sep (line 52) | sep byte = '/' type Wildmatch (line 59) | type Wildmatch struct method parseTokens (line 160) | func (w *Wildmatch) parseTokens(dirs []string) ([]token, error) { method parseTokensSimple (line 209) | func (w *Wildmatch) parseTokensSimple(dirs []string) ([]token, error) { method Match (line 268) | func (w *Wildmatch) Match(t string) bool { method MatchWithOpts (line 276) | func (w *Wildmatch) MatchWithOpts(t string, opt MatchOpts) bool { method consume (line 287) | func (w *Wildmatch) consume(t string, opt MatchOpts) ([]string, bool) { method String (line 344) | func (w *Wildmatch) String() string { type MatchOpts (line 84) | type MatchOpts struct function NewWildmatch (line 93) | func NewWildmatch(p string, opts ...opt) (*Wildmatch, error) { constant escapes (line 119) | escapes = "\\[]*?#" function slashEscape (line 127) | func slashEscape(p string) string { function escapable (line 154) | func escapable(c byte) bool { function NonEmpty (line 257) | func NonEmpty(all []string) (ne []string) { type token (line 349) | type token interface type doubleStar (line 380) | type doubleStar struct method Consume (line 386) | func (d *doubleStar) Consume(path []string, isDir bool) ([]string, boo... method String (line 410) | func (d *doubleStar) String() string { type unanchoredDirectory (line 419) | type unanchoredDirectory struct method Consume (line 424) | func (d *unanchoredDirectory) Consume(path []string, isDir bool) ([]st... method String (line 432) | func (d *unanchoredDirectory) String() string { type trailingComponents (line 438) | type trailingComponents struct method Consume (line 442) | func (d *trailingComponents) Consume(path []string, isDir bool) ([]str... method String (line 450) | func (d *trailingComponents) String() string { type componentFn (line 457) | type componentFn interface type cfn (line 464) | type cfn struct method Apply (line 470) | func (c *cfn) Apply(s string) (rest string, ok bool) { method String (line 475) | func (c *cfn) String() string { type component (line 482) | type component struct method Consume (line 709) | func (c *component) Consume(path []string, isDir bool) ([]string, bool) { method String (line 743) | func (c *component) String() string { function parseComponent (line 491) | func parseComponent(s string) ([]componentFn, error) { function appendMaybe (line 695) | func appendMaybe(yes bool, a, b []runeFn, x runeFn) (ax, bx []runeFn) { function cons (line 703) | func cons(head componentFn, tail []componentFn) []componentFn { function substring (line 753) | func substring(sub string) componentFn { function wildcard (line 767) | func wildcard(n int, fns []componentFn) componentFn { function charClass (line 814) | func charClass(include, exclude []runeFn) componentFn { type runeFn (line 856) | type runeFn function anyRune (line 886) | func anyRune(s string) runeFn { function between (line 893) | func between(a, b rune) runeFn { FILE: modules/wildmatch/wildmatch_casefold.go function init (line 5) | func init() { FILE: modules/wildmatch/wildmatch_nocasefold.go function init (line 5) | func init() { FILE: modules/wildmatch/wildmatch_test.go type Case (line 8) | type Case struct method Assert (line 16) | func (c *Case) Assert(t *testing.T) { function TestWildmatch (line 842) | func TestWildmatch(t *testing.T) { type SlashCase (line 848) | type SlashCase struct method Assert (line 853) | func (c *SlashCase) Assert(t *testing.T) { function TestSlashEscape (line 865) | func TestSlashEscape(t *testing.T) { function TestCaseFold (line 880) | func TestCaseFold(t *testing.T) { FILE: modules/zeta/backend/decode.go constant BLANK_BLOB (line 22) | BLANK_BLOB = "af1349b9f5f9a1a6a0404dea36dcc9499bcb25c9adc112b7cc9a93cae4... method store (line 33) | func (d *Database) store(a any) error { method fromCache (line 54) | func (d *Database) fromCache(oid plumbing.Hash) (any, error) { method Exists (line 74) | func (d *Database) Exists(oid plumbing.Hash, metadata bool) error { method Object (line 88) | func (d *Database) Object(_ context.Context, oid plumbing.Hash) (any, er... method Commit (line 111) | func (d *Database) Commit(ctx context.Context, oid plumbing.Hash) (*obje... method ParseRevEx (line 122) | func (d *Database) ParseRevEx(ctx context.Context, oid plumbing.Hash) (*... method Tree (line 145) | func (d *Database) Tree(ctx context.Context, oid plumbing.Hash) (*object... method Fragments (line 156) | func (d *Database) Fragments(ctx context.Context, oid plumbing.Hash) (*o... method Tag (line 167) | func (d *Database) Tag(ctx context.Context, oid plumbing.Hash) (*object.... method Blob (line 178) | func (d *Database) Blob(_ context.Context, oid plumbing.Hash) (br *objec... type SizeReader (line 194) | type SizeReader interface type sizeReader (line 200) | type sizeReader struct method Close (line 206) | func (sr *sizeReader) Close() error { method Size (line 213) | func (sr *sizeReader) Size() int64 { constant ZSTD_MAGIC (line 219) | ZSTD_MAGIC = 0xFD2FB528 function isZstdMagic (line 222) | func isZstdMagic(magic [4]byte) bool { method metaSizeReader (line 226) | func (d *Database) metaSizeReader(oid plumbing.Hash) (SizeReader, error) { method Size (line 267) | func (d *Database) Size(oid plumbing.Hash, meta bool) (size int64, err e... method SizeReader (line 277) | func (d *Database) SizeReader(oid plumbing.Hash, meta bool) (SizeReader,... type readCloser (line 303) | type readCloser struct method Close (line 308) | func (r *readCloser) Close() error { method OpenReader (line 315) | func (d *Database) OpenReader(oid plumbing.Hash, meta bool) (io.ReadClos... method Search (line 348) | func (d *Database) Search(prefix string) (oid plumbing.Hash, err error) { FILE: modules/zeta/backend/encode.go method WriteEncoded (line 17) | func (d *Database) WriteEncoded(e object.Encoder) (oid plumbing.Hash, er... method HashTo (line 28) | func (d *Database) HashTo(ctx context.Context, r io.Reader, size int64) ... method WriteTo (line 37) | func (d *Database) WriteTo(ctx context.Context, oid plumbing.Hash, r io.... method JoinPart (line 43) | func (d *Database) JoinPart(oid plumbing.Hash) string { method ValidatePart (line 51) | func (d *Database) ValidatePart(saveTo string, oid plumbing.Hash) error { method newPartName (line 59) | func (d *Database) newPartName(oid plumbing.Hash) string { method encodedPath (line 68) | func (d *Database) encodedPath(oid plumbing.Hash) string { method NewFD (line 77) | func (d *Database) NewFD(oid plumbing.Hash) (*os.File, error) { method NewTruncateFD (line 81) | func (d *Database) NewTruncateFD(oid plumbing.Hash) (*os.File, error) { method validateFD (line 85) | func (d *Database) validateFD(fd *os.File, oid plumbing.Hash) error { method ValidateFD (line 105) | func (d *Database) ValidateFD(fd *os.File, oid plumbing.Hash) error { FILE: modules/zeta/backend/errors.go type ErrMismatchedObjectType (line 13) | type ErrMismatchedObjectType struct method Error (line 18) | func (e *ErrMismatchedObjectType) Error() string { function IsErrMismatchedObjectType (line 22) | func IsErrMismatchedObjectType(err error) bool { function NewErrMismatchedObjectType (line 27) | func NewErrMismatchedObjectType(oid plumbing.Hash, t string) error { FILE: modules/zeta/backend/file_storer.go constant mimePacketSize (line 27) | mimePacketSize = 4096 constant DEFAULT_BLOB_VERSION (line 28) | DEFAULT_BLOB_VERSION uint16 = 1 type CompressMethod (line 35) | type CompressMethod constant STORE (line 38) | STORE CompressMethod = 0 constant ZSTD (line 39) | ZSTD CompressMethod = 1 constant BROTLI (line 40) | BROTLI CompressMethod = 2 constant DEFLATE (line 41) | DEFLATE CompressMethod = 3 constant XZ (line 42) | XZ CompressMethod = 4 constant BZ2 (line 43) | BZ2 CompressMethod = 5 function fromCompressionALGO (line 46) | func fromCompressionALGO(compressionALGO string) CompressMethod { function isBinaryPayload (line 61) | func isBinaryPayload(payload []byte) bool { type fileStorer (line 73) | type fileStorer struct method path (line 101) | func (fo *fileStorer) path(oid plumbing.Hash) string { method Open (line 112) | func (fo *fileStorer) Open(oid plumbing.Hash) (f io.ReadCloser, err er... method Exists (line 120) | func (fo *fileStorer) Exists(oid plumbing.Hash) error { method Root (line 129) | func (fo *fileStorer) Root() string { method Close (line 134) | func (fo *fileStorer) Close() error { method open (line 139) | func (fo *fileStorer) open(path string, flag int) (*os.File, error) { method method (line 144) | func (fo *fileStorer) method(compressed bool) CompressMethod { method hashToInternal (line 179) | func (fo *fileStorer) hashToInternal(fd *os.File, r io.Reader, size in... method HashTo (line 245) | func (fo *fileStorer) HashTo(ctx context.Context, r io.Reader, size in... method WriteEncoded (line 284) | func (fo *fileStorer) WriteEncoded(e object.Encoder) (oid plumbing.Has... method Search (line 320) | func (fo *fileStorer) Search(prefix plumbing.Hash) (oid plumbing.Hash,... method looseObjects (line 357) | func (fo *fileStorer) looseObjects(sizeMax int64) (LooseObjects, error) { method LooseObjects (line 387) | func (fo *fileStorer) LooseObjects() ([]plumbing.Hash, error) { method Unpack (line 409) | func (fo *fileStorer) Unpack(oid plumbing.Hash, r io.Reader) (err erro... method Prune (line 517) | func (fo *fileStorer) Prune(ctx context.Context) (int, error) { method PruneObject (line 522) | func (fo *fileStorer) PruneObject(ctx context.Context, oid plumbing.Ha... method PruneObjects (line 533) | func (fo *fileStorer) PruneObjects(ctx context.Context, largeSize int6... function newFileStorer (line 87) | func newFileStorer(root, incoming, compressionALGO string) *fileStorer { function Join (line 95) | func Join(root string, oid plumbing.Hash) string { type ExtendWriter (line 151) | type ExtendWriter interface function compress (line 156) | func compress(r io.Reader, w ExtendWriter, method CompressMethod) (writt... function mkdir (line 220) | func mkdir(paths ...string) error { function finalizeObject (line 230) | func finalizeObject(oldPath string, newPath string) (err error) { type LooseObject (line 349) | type LooseObject struct type LooseObjects (line 355) | type LooseObjects function removeDirIfEmpty (line 481) | func removeDirIfEmpty(ctx context.Context, target string) (total int, de... FILE: modules/zeta/backend/odb.go constant DefaultHashALGO (line 21) | DefaultHashALGO = "BLAKE3" constant DefaultCompressionALGO (line 22) | DefaultCompressionALGO = "zstd" type Database (line 25) | type Database struct method Reload (line 74) | func (d *Database) Reload() error { method initializeBlobStorage (line 105) | func (d *Database) initializeBlobStorage() error { method initializeMetadataStorage (line 133) | func (d *Database) initializeMetadataStorage() error { method Close (line 187) | func (d *Database) Close() error { method CompressionALGO (line 194) | func (d *Database) CompressionALGO() string { method Root (line 198) | func (d *Database) Root() string { type Option (line 44) | type Option function WithSharingRoot (line 46) | func WithSharingRoot(sharingRoot string) Option { function WithEnableLRU (line 54) | func WithEnableLRU(enableLRU bool) Option { function WithAbstractBackend (line 60) | func WithAbstractBackend(backend object.Backend) Option { function WithCompressionALGO (line 66) | func WithCompressionALGO(compressionALGO string) Option { function NewDatabase (line 88) | func NewDatabase(root string, opts ...Option) (*Database, error) { function closeSafe (line 171) | func closeSafe(a ...io.Closer) error { FILE: modules/zeta/backend/odb_test.go function TestHashTo (line 16) | func TestHashTo(t *testing.T) { function TestPackDeocde (line 43) | func TestPackDeocde(t *testing.T) { function TestSearchObject (line 73) | func TestSearchObject(t *testing.T) { function TestRemoveNonEmptyDir (line 88) | func TestRemoveNonEmptyDir(t *testing.T) { function TestSleep (line 93) | func TestSleep(t *testing.T) { FILE: modules/zeta/backend/pack-objects.go type Indicators (line 19) | type Indicators interface type NewIndicators (line 25) | type NewIndicators type nonIndicators (line 27) | type nonIndicators struct method Add (line 29) | func (p nonIndicators) Add(n int) {} method Wait (line 30) | func (p nonIndicators) Wait() {} method Run (line 31) | func (p nonIndicators) Run(ctx context.Context) {} function preservePack (line 37) | func preservePack(root, quarantine string) error { type packedObject (line 57) | type packedObject struct type packedObjects (line 63) | type packedObjects function openObject (line 65) | func openObject(ro storage.Storage, oid plumbing.Hash, o *packedObject) ... function repackMetaObjects (line 86) | func repackMetaObjects(ctx context.Context, ro storage.Storage, objects ... function repackObjects (line 112) | func repackObjects(ctx context.Context, opts *PackOptions, ro storage.St... function repackObjectsEx (line 152) | func repackObjectsEx(ctx context.Context, opts *PackOptions, ro storage.... function pruneObjects0 (line 172) | func pruneObjects0(ctx context.Context, fo *fileStorer, objects packedOb... function pruneObjects (line 187) | func pruneObjects(ctx context.Context, opts *PackOptions, fo *fileStorer... constant MaxLooseObjects (line 198) | MaxLooseObjects = 2048 constant MaxPacks (line 199) | MaxPacks = 4 constant MinPackSize (line 200) | MinPackSize = 200 << 20 function hasTidyPacks (line 203) | func hasTidyPacks(root string) bool { function packObjectsInternal (line 231) | func packObjectsInternal(ctx context.Context, opts *PackOptions, root st... type PackOptions (line 303) | type PackOptions struct method checkInit (line 317) | func (opts *PackOptions) checkInit() { method Printf (line 331) | func (opts *PackOptions) Printf(format string, a ...any) { constant DefaultPackThreshold (line 314) | DefaultPackThreshold = 50 * 1024 * 1024 function PackObjects (line 337) | func PackObjects(ctx context.Context, opts *PackOptions) error { FILE: modules/zeta/backend/pack-objects_test.go function TestPackObjects (line 9) | func TestPackObjects(t *testing.T) { FILE: modules/zeta/backend/pack/bounds.go type bounds (line 16) | type bounds struct method Left (line 33) | func (b *bounds) Left() int64 { method Right (line 38) | func (b *bounds) Right() int64 { method WithLeft (line 44) | func (b *bounds) WithLeft(newLeft int64) *bounds { method WithRight (line 53) | func (b *bounds) WithRight(newRight int64) *bounds { method Equal (line 70) | func (b *bounds) Equal(other *bounds) bool { method String (line 86) | func (b *bounds) String() string { function newBounds (line 25) | func newBounds(left, right int64) *bounds { FILE: modules/zeta/backend/pack/encode.go constant PackVersion (line 23) | PackVersion uint32 = 'Z' constant NoEntries (line 24) | NoEntries uint32 = 0 constant entriesOffset (line 25) | entriesOffset = 4 + 4 constant objectOffset (line 26) | objectOffset = entriesOffset + 4 type Entry (line 33) | type Entry struct type objects (line 40) | type objects method Len (line 47) | func (o objects) Len() int { return len(o) } method Less (line 48) | func (o objects) Less(i, j int) bool { return bytes.Compare(o[i].Hash[... method Swap (line 49) | func (o objects) Swap(i, j int) { o[i], o[j] = o[j], o[i] } function EntriesSort (line 43) | func EntriesSort(o objects) { type Encoder (line 51) | type Encoder struct method WriteTrailer (line 86) | func (e *Encoder) WriteTrailer() error { method Write (line 116) | func (e *Encoder) Write(oid plumbing.Hash, size uint32, r io.Reader, m... method Name (line 133) | func (e *Encoder) Name() string { method WriteIndex (line 142) | func (e *Encoder) WriteIndex(fd *os.File) error { method WriteModification (line 207) | func (e *Encoder) WriteModification(fd *os.File) error { function NewEncoder (line 63) | func NewEncoder(fd *os.File, entries uint32) (*Encoder, error) { constant offset64PosMask (line 138) | offset64PosMask = uint64(1) << 31 type Writer (line 229) | type Writer struct method Close (line 251) | func (w *Writer) Close() error { method Write (line 259) | func (w *Writer) Write(oid plumbing.Hash, size uint32, r io.Reader, mo... method WriteTrailer (line 263) | func (w *Writer) WriteTrailer() error { function NewWriter (line 236) | func NewWriter(packDir string, entries uint32) (*Writer, error) { FILE: modules/zeta/backend/pack/errors.go type UnsupportedVersionErr (line 13) | type UnsupportedVersionErr struct method Error (line 19) | func (u *UnsupportedVersionErr) Error() string { FILE: modules/zeta/backend/pack/index.go constant IndexVersionCurrent (line 18) | IndexVersionCurrent = 'Z' constant indexMagicWidth (line 21) | indexMagicWidth = 4 constant indexVersionWidth (line 24) | indexVersionWidth = 4 constant indexWidth (line 26) | indexWidth = indexMagicWidth + indexVersionWidth constant indexFanoutEntries (line 29) | indexFanoutEntries = 256 constant indexFanoutEntryWidth (line 31) | indexFanoutEntryWidth = 4 constant indexFanoutWidth (line 33) | indexFanoutWidth = indexFanoutEntries * indexFanoutEntryWidth constant indexOffsetStart (line 37) | indexOffsetStart = indexWidth + indexFanoutWidth constant indexObjectCRCWidth (line 40) | indexObjectCRCWidth = 4 constant indexObjectSmallOffsetWidth (line 43) | indexObjectSmallOffsetWidth = 4 constant indexObjectLargeOffsetWidth (line 46) | indexObjectLargeOffsetWidth = 8 type IndexEntry (line 68) | type IndexEntry struct type IndexVersion (line 75) | type IndexVersion interface type Index (line 99) | type Index struct method Count (line 117) | func (i *Index) Count() int { method Close (line 123) | func (i *Index) Close() error { method Entry (line 155) | func (i *Index) Entry(name plumbing.Hash) (*IndexEntry, error) { method Search (line 206) | func (i *Index) Search(name plumbing.Hash) (oid plumbing.Hash, err err... method readAt (line 254) | func (i *Index) readAt(p []byte, at int64) (n int, err error) { method bounds (line 260) | func (i *Index) bounds(name plumbing.Hash) *bounds { method PackedObjects (line 286) | func (i *Index) PackedObjects(recv RecvFunc) error { function IsNotFound (line 141) | func IsNotFound(err error) bool { function prefixCompare (line 201) | func prefixCompare(want, got plumbing.Hash) int { function DecodeIndex (line 296) | func DecodeIndex(r io.ReaderAt) (*Index, error) { function decodeIndexHeader (line 316) | func decodeIndexHeader(r io.ReaderAt) (IndexVersion, error) { function decodeIndexFanout (line 339) | func decodeIndexFanout(r io.ReaderAt, offset int64) ([]uint32, error) { FILE: modules/zeta/backend/pack/index_version.go constant HashDigestSize (line 18) | HashDigestSize = plumbing.HASH_DIGEST_SIZE type IndexZ (line 22) | type IndexZ struct method Name (line 27) | func (v *IndexZ) Name(idx *Index, at int64) (oid plumbing.Hash, err er... method Entry (line 36) | func (v *IndexZ) Entry(idx *Index, at int64) (*IndexEntry, error) { method Width (line 64) | func (v *IndexZ) Width() int64 { method PackedObjects (line 78) | func (v *IndexZ) PackedObjects(idx *Index, recv RecvFunc) error { type RecvFunc (line 68) | type RecvFunc function openMtimesFD (line 70) | func openMtimesFD(idx *Index) (*os.File, error) { function hashOffset (line 116) | func hashOffset(at int64) int64 { function smallOffsetOffset (line 125) | func smallOffsetOffset(at, total int64) int64 { function largeOffsetOffset (line 138) | func largeOffsetOffset(at, total int64) int64 { FILE: modules/zeta/backend/pack/pack_test.go function TestPackDecode (line 14) | func TestPackDecode(t *testing.T) { function TestLastIndexByte (line 41) | func TestLastIndexByte(t *testing.T) { FILE: modules/zeta/backend/pack/packfile.go type Packfile (line 17) | type Packfile struct method Close (line 32) | func (p *Packfile) Close() error { method Exists (line 44) | func (p *Packfile) Exists(name plumbing.Hash) error { method Search (line 56) | func (p *Packfile) Search(name plumbing.Hash) (oid plumbing.Hash, err ... method Object (line 60) | func (p *Packfile) Object(name plumbing.Hash) (*SizeReader, error) { method find (line 75) | func (p *Packfile) find(offset int64) (*SizeReader, error) { function DecodePackfile (line 90) | func DecodePackfile(r io.ReaderAt) (*Packfile, error) { FILE: modules/zeta/backend/pack/reader.go type SizeReader (line 10) | type SizeReader struct method Size (line 26) | func (r *SizeReader) Size() int64 { method Close (line 31) | func (r *SizeReader) Close() error { method Read (line 41) | func (r *SizeReader) Read(p []byte) (n int, err error) { function NewSizeReader (line 22) | func NewSizeReader(r io.ReaderAt, offset int64, size int64) *SizeReader { FILE: modules/zeta/backend/pack/set.go type Set (line 16) | type Set interface type set (line 23) | type set struct method Close (line 39) | func (s *set) Close() error { method Object (line 49) | func (s *set) Object(name plumbing.Hash) (*SizeReader, error) { method each (line 55) | func (s *set) each(name plumbing.Hash, fn iterFn) (*SizeReader, error) { method Exists (line 71) | func (s *set) Exists(name plumbing.Hash) error { method eachExists (line 77) | func (s *set) eachExists(name plumbing.Hash, fn func(*Packfile) error)... method Search (line 94) | func (s *set) Search(prefix plumbing.Hash) (oid plumbing.Hash, err err... method eachSearch (line 100) | func (s *set) eachSearch(name plumbing.Hash, fn searchFn) (oid plumbin... type iterFn (line 47) | type iterFn type searchFn (line 92) | type searchFn function packsConcat (line 117) | func packsConcat(packs ...*Packfile) Set { function escapeGlobPattern (line 175) | func escapeGlobPattern(s string) string { function newPacks (line 182) | func newPacks(db string) ([]*Packfile, error) { function NewSets (line 240) | func NewSets(db string) (Set, error) { type Packs (line 248) | type Packs method PackedObjects (line 250) | func (ps Packs) PackedObjects(recv RecvFunc) error { function NewPacks (line 259) | func NewPacks(db string) (Set, Packs, error) { FILE: modules/zeta/backend/pack/storage.go type Storage (line 14) | type Storage struct method Open (line 28) | func (f *Storage) Open(oid plumbing.Hash) (r io.ReadCloser, err error) { method Exists (line 33) | func (f *Storage) Exists(name plumbing.Hash) error { method Search (line 37) | func (f *Storage) Search(prefix plumbing.Hash) (oid plumbing.Hash, err... method Close (line 42) | func (f *Storage) Close() error { function NewStorage (line 19) | func NewStorage(root string) (*Storage, error) { type Scanner (line 46) | type Scanner struct method Open (line 60) | func (s *Scanner) Open(oid plumbing.Hash) (r io.ReadCloser, err error) { method PackedObjects (line 64) | func (s *Scanner) PackedObjects(recv RecvFunc) error { method Exists (line 69) | func (s *Scanner) Exists(name plumbing.Hash) error { method Search (line 82) | func (s *Scanner) Search(prefix plumbing.Hash) (plumbing.Hash, error) { method Names (line 96) | func (s *Scanner) Names() []string { method Close (line 107) | func (s *Scanner) Close() error { function NewScanner (line 51) | func NewScanner(root string) (*Scanner, error) { FILE: modules/zeta/backend/prune.go method PruneObject (line 12) | func (d *Database) PruneObject(ctx context.Context, oid plumbing.Hash, m... method PruneObjects (line 19) | func (d *Database) PruneObjects(ctx context.Context, largeSize int64) ([... FILE: modules/zeta/backend/storage/storage.go type Storage (line 15) | type Storage interface type WritableStorage (line 28) | type WritableStorage interface type multiStorage (line 40) | type multiStorage struct method Open (line 50) | func (m *multiStorage) Open(oid plumbing.Hash) (f io.ReadCloser, err e... method Exists (line 64) | func (m *multiStorage) Exists(oid plumbing.Hash) error { method Search (line 77) | func (m *multiStorage) Search(prefix plumbing.Hash) (plumbing.Hash, er... method Close (line 93) | func (m *multiStorage) Close() error { function MultiStorage (line 44) | func MultiStorage(args ...Storage) Storage { FILE: modules/zeta/backend/unpack.go type Unpacker (line 21) | type Unpacker struct method method (line 28) | func (u *Unpacker) method(compressed bool) CompressMethod { method HashTo (line 35) | func (u *Unpacker) HashTo(r io.Reader, size int64, modification int64)... method WriteEncoded (line 80) | func (u *Unpacker) WriteEncoded(e object.Encoder, squeeze bool, modifi... method Close (line 104) | func (u *Unpacker) Close() error { method Preserve (line 144) | func (u *Unpacker) Preserve() error { method NewUnpackerEx (line 115) | func (d *Database) NewUnpackerEx(entries uint32, metadata bool, method C... method NewUnpacker (line 140) | func (d *Database) NewUnpacker(entries uint32, metadata bool) (*Unpacker... FILE: modules/zeta/config/boolean_test.go function TestBooleanMerge (line 10) | func TestBooleanMerge(t *testing.T) { function TestBooleanUnmarshal (line 39) | func TestBooleanUnmarshal(t *testing.T) { function TestBooleanUnmarshalText (line 93) | func TestBooleanUnmarshalText(t *testing.T) { FILE: modules/zeta/config/codec_toml.go function LoadDocument (line 21) | func LoadDocument(data []byte) (Document, error) { function fromRawAny (line 31) | func fromRawAny(raw map[string]any) (Document, error) { function LoadDocumentFile (line 69) | func LoadDocumentFile(path string) (Document, error) { function MarshalDocument (line 78) | func MarshalDocument(doc Document) ([]byte, error) { function newTOMLEncoder (line 88) | func newTOMLEncoder(w io.Writer) *toml.Encoder { function LoadConfig (line 96) | func LoadConfig(data []byte, cfg *Config) error { function LoadConfigFile (line 102) | func LoadConfigFile(path string, cfg *Config) error { function ValidateDocumentAs (line 112) | func ValidateDocumentAs(doc Document, target any) error { FILE: modules/zeta/config/codec_toml_test.go function TestLoadDocument (line 10) | func TestLoadDocument(t *testing.T) { function TestMarshalDocument (line 87) | func TestMarshalDocument(t *testing.T) { function TestLoadConfig (line 122) | func TestLoadConfig(t *testing.T) { function TestValidateDocumentAs (line 165) | func TestValidateDocumentAs(t *testing.T) { function TestLoadDocumentInvalidStructure (line 178) | func TestLoadDocumentInvalidStructure(t *testing.T) { FILE: modules/zeta/config/compat_test.go function TestCompatConfigDecoding (line 12) | func TestCompatConfigDecoding(t *testing.T) { function TestCompatOverwrite (line 190) | func TestCompatOverwrite(t *testing.T) { function TestCompatBooleanMerge (line 277) | func TestCompatBooleanMerge(t *testing.T) { function TestCompatKeyParsing (line 303) | func TestCompatKeyParsing(t *testing.T) { function stringSlicesEqual (line 341) | func stringSlicesEqual(a, b []string) bool { FILE: modules/zeta/config/config.go constant FragmentThreshold (line 14) | FragmentThreshold int64 = 1 * strengthen.GiByte constant FragmentSize (line 15) | FragmentSize int64 = 1 * strengthen.GiByte type ErrBadConfigKey (line 19) | type ErrBadConfigKey struct method Error (line 23) | func (err *ErrBadConfigKey) Error() string { function IsErrBadConfigKey (line 27) | func IsErrBadConfigKey(err error) bool { type User (line 36) | type User struct method Empty (line 41) | func (u *User) Empty() bool { method Overwrite (line 52) | func (u *User) Overwrite(o *User) { function overwrite (line 45) | func overwrite(current, override string) string { type Core (line 57) | type Core struct method Overwrite (line 71) | func (c *Core) Overwrite(o *Core) { method IsExtreme (line 94) | func (c *Core) IsExtreme() bool { type Fragment (line 98) | type Fragment struct method Overwrite (line 104) | func (f *Fragment) Overwrite(o *Fragment) { method Threshold (line 114) | func (f Fragment) Threshold() int64 { method Size (line 121) | func (f Fragment) Size() int64 { type HTTP (line 128) | type HTTP struct method Overwrite (line 133) | func (h *HTTP) Overwrite(o *HTTP) { type SSH (line 140) | type SSH struct method Overwrite (line 144) | func (u *SSH) Overwrite(o *SSH) { type Transport (line 150) | type Transport struct method LargeSize (line 161) | func (t Transport) LargeSize() int64 { method Overwrite (line 168) | func (t *Transport) Overwrite(o *Transport) { constant minLargeSize (line 157) | minLargeSize = 512 << 10 constant largeSize (line 158) | largeSize = 5 << 20 type Diff (line 178) | type Diff struct method Overwrite (line 182) | func (d *Diff) Overwrite(o *Diff) { type Merge (line 186) | type Merge struct method Overwrite (line 190) | func (m *Merge) Overwrite(o *Merge) { type Credential (line 210) | type Credential struct method Overwrite (line 253) | func (c *Credential) Overwrite(o *Credential) { constant CredentialStorageAuto (line 246) | CredentialStorageAuto = "auto" constant CredentialStorageSecretService (line 247) | CredentialStorageSecretService = "secret-service" constant CredentialStorageFile (line 248) | CredentialStorageFile = "file" constant CredentialStorageNone (line 249) | CredentialStorageNone = "none" constant CredentialStorageSecurity (line 250) | CredentialStorageSecurity = "security" type Config (line 259) | type Config struct method Overwrite (line 272) | func (c *Config) Overwrite(other *Config) { FILE: modules/zeta/config/decode.go constant ENV_ZETA_CONFIG_SYSTEM (line 15) | ENV_ZETA_CONFIG_SYSTEM = "ZETA_CONFIG_SYSTEM" function configSystemPath (line 22) | func configSystemPath() string { function LoadSystem (line 38) | func LoadSystem() (*Config, error) { function LoadGlobal (line 53) | func LoadGlobal() (*Config, error) { function LoadBaseline (line 67) | func LoadBaseline() (*Config, error) { function Load (line 84) | func Load(zetaDir string) (*Config, error) { FILE: modules/zeta/config/decode_test.go function TestDecode (line 11) | func TestDecode(t *testing.T) { function TestDecode2 (line 21) | func TestDecode2(t *testing.T) { function TestDecodeZ (line 40) | func TestDecodeZ(t *testing.T) { function TestFilter (line 59) | func TestFilter(t *testing.T) { function TestLoad (line 77) | func TestLoad(t *testing.T) { FILE: modules/zeta/config/display.go type DisplayOptions (line 19) | type DisplayOptions struct method Show (line 38) | func (opts *DisplayOptions) Show(a any, keys ...string) error { constant NUL (line 25) | NUL = '\x00' constant maxDisplayDepth (line 26) | maxDisplayDepth = 20 function formatKey (line 31) | func formatKey(key reflect.Value) string { function displayTo (line 74) | func displayTo(d Display, zfg string) error { function DisplaySystem (line 90) | func DisplaySystem(opts *DisplayOptions) error { function DisplayGlobal (line 99) | func DisplayGlobal(opts *DisplayOptions) error { function DisplayLocal (line 108) | func DisplayLocal(opts *DisplayOptions, zetaDir string) error { type GetOptions (line 114) | type GetOptions struct method show (line 122) | func (opts *GetOptions) show(vals []any) { function getFromFile (line 134) | func getFromFile(opts *GetOptions, zfg string) error { function GetSystem (line 159) | func GetSystem(opts *GetOptions) error { function GetGlobal (line 165) | func GetGlobal(opts *GetOptions) error { function GetLocal (line 171) | func GetLocal(opts *GetOptions, zetaDir string) error { function Get (line 177) | func Get(opts *GetOptions, zetaDir string, found bool) error { FILE: modules/zeta/config/document.go type Key (line 12) | type Key struct method String (line 36) | func (k Key) String() string { function ParseKey (line 20) | func ParseKey(s string) (Key, error) { type Section (line 41) | type Section method displayTo (line 220) | func (s Section) displayTo(d Display, sectionKey string) error { type Document (line 44) | type Document method Get (line 53) | func (d Document) Get(key string) (Value, bool, error) { method GetFirst (line 70) | func (d Document) GetFirst(key string) (any, error) { method GetAll (line 89) | func (d Document) GetAll(key string) ([]any, error) { method Set (line 107) | func (d Document) Set(key string, val any) (bool, error) { method Add (line 130) | func (d Document) Add(key string, val any) error { method Delete (line 164) | func (d Document) Delete(key string) error { method Raw (line 185) | func (d Document) Raw() map[string]map[string]any { function NewDocument (line 47) | func NewDocument() Document { function FromRaw (line 201) | func FromRaw(raw map[string]map[string]any) (Document, error) { FILE: modules/zeta/config/document_test.go function TestParseKey (line 11) | func TestParseKey(t *testing.T) { function TestDocumentSetGet (line 81) | func TestDocumentSetGet(t *testing.T) { function TestDocumentAdd (line 145) | func TestDocumentAdd(t *testing.T) { function TestDocumentDelete (line 190) | func TestDocumentDelete(t *testing.T) { function TestDocumentRawRoundTrip (line 221) | func TestDocumentRawRoundTrip(t *testing.T) { function TestDocumentGetAll (line 258) | func TestDocumentGetAll(t *testing.T) { function TestDocumentBadKey (line 288) | func TestDocumentBadKey(t *testing.T) { FILE: modules/zeta/config/encode.go function atomicEncode (line 17) | func atomicEncode(zf string, doc Document) error { function atomicWrite (line 26) | func atomicWrite(path string, data []byte) error { function Encode (line 43) | func Encode(zetaDir string, config *Config) error { function EncodeGlobal (line 51) | func EncodeGlobal(config *Config) error { function atomicWriteConfig (line 60) | func atomicWriteConfig(path string, config *Config) error { type UpdateOptions (line 69) | type UpdateOptions struct function updateInternal (line 74) | func updateInternal(zf string, opts *UpdateOptions) error { function loadDocumentOrNew (line 103) | func loadDocumentOrNew(path string) (Document, error) { function UpdateSystem (line 114) | func UpdateSystem(opts *UpdateOptions) error { function UpdateGlobal (line 119) | func UpdateGlobal(opts *UpdateOptions) error { function UpdateLocal (line 124) | func UpdateLocal(zetaDir string, opts *UpdateOptions) error { function unsetInternal (line 129) | func unsetInternal(zf string, keys ...string) error { function UnsetSystem (line 157) | func UnsetSystem(keys ...string) error { function UnsetGlobal (line 162) | func UnsetGlobal(keys ...string) error { function UnsetLocal (line 167) | func UnsetLocal(zetaDir string, keys ...string) error { FILE: modules/zeta/config/encode_test.go function TestEncode (line 14) | func TestEncode(t *testing.T) { function TestUpdateConfig (line 34) | func TestUpdateConfig(t *testing.T) { function TestEncodeInt (line 46) | func TestEncodeInt(t *testing.T) { function TestUpdateKey (line 57) | func TestUpdateKey(t *testing.T) { function TestUpdateNot (line 77) | func TestUpdateNot(t *testing.T) { function TestUpdateNot2 (line 97) | func TestUpdateNot2(t *testing.T) { function TestUpdateValidationFailure (line 117) | func TestUpdateValidationFailure(t *testing.T) { function TestUnsetValidationFailure (line 157) | func TestUnsetValidationFailure(t *testing.T) { FILE: modules/zeta/config/type.go constant UNSPECIFIED (line 15) | UNSPECIFIED = "" constant BOOLEAN (line 16) | BOOLEAN = "bool" constant INTEGER (line 17) | INTEGER = "int" constant BOOLORINT (line 18) | BOOLORINT = "bool-or-int" constant PATH (line 19) | PATH = "path" constant DATETIME (line 20) | DATETIME = "datetime" constant BOOLEAN_UNSET (line 24) | BOOLEAN_UNSET = 0 constant BOOLEAN_TRUE (line 25) | BOOLEAN_TRUE = 1 constant BOOLEAN_FALSE (line 26) | BOOLEAN_FALSE = 2 type Boolean (line 29) | type Boolean struct method UnmarshalTOML (line 38) | func (b *Boolean) UnmarshalTOML(a any) error { method UnmarshalText (line 82) | func (b *Boolean) UnmarshalText(text []byte) error { method IsUnset (line 95) | func (b *Boolean) IsUnset() bool { method Merge (line 102) | func (b *Boolean) Merge(other *Boolean) { method True (line 110) | func (b *Boolean) True() bool { method False (line 114) | func (b *Boolean) False() bool { method Set (line 118) | func (b *Boolean) Set(v bool) bool { method Unset (line 127) | func (b *Boolean) Unset() { method MarshalText (line 133) | func (b Boolean) MarshalText() ([]byte, error) { type StringArray (line 145) | type StringArray method UnmarshalTOML (line 147) | func (a *StringArray) UnmarshalTOML(data any) error { type Size (line 167) | type Size method UnmarshalText (line 169) | func (s *Size) UnmarshalText(text []byte) error { type Accelerator (line 178) | type Accelerator constant Direct (line 181) | Direct Accelerator = "direct" constant Dragonfly (line 182) | Dragonfly Accelerator = "dragonfly" constant Aria2 (line 183) | Aria2 Accelerator = "aria2" type Strategy (line 186) | type Strategy constant StrategyUnspecified (line 189) | StrategyUnspecified Strategy = "unspecified" constant StrategyHeuristical (line 190) | StrategyHeuristical Strategy = "heuristical" constant StrategyEager (line 191) | StrategyEager Strategy = "eager" constant StrategyExtreme (line 192) | StrategyExtreme Strategy = "extreme" type Display (line 195) | type Display interface FILE: modules/zeta/config/type_test.go function TestSizeUnmarshalText (line 13) | func TestSizeUnmarshalText(t *testing.T) { function TestSizeTOMLDecode (line 46) | func TestSizeTOMLDecode(t *testing.T) { function TestSizeInFragment (line 108) | func TestSizeInFragment(t *testing.T) { function TestSizeDefault (line 136) | func TestSizeDefault(t *testing.T) { function TestSizeInTransport (line 155) | func TestSizeInTransport(t *testing.T) { FILE: modules/zeta/config/validate.go function ValidateDocument (line 8) | func ValidateDocument(doc Document) error { FILE: modules/zeta/config/value.go type Kind (line 12) | type Kind method String (line 27) | func (k Kind) String() string { constant KindInvalid (line 15) | KindInvalid Kind = iota constant KindString (line 16) | KindString constant KindInt64 (line 17) | KindInt64 constant KindBool (line 18) | KindBool constant KindFloat64 (line 19) | KindFloat64 constant KindStringSlice (line 20) | KindStringSlice constant KindInt64Slice (line 21) | KindInt64Slice constant KindBoolSlice (line 22) | KindBoolSlice constant KindFloat64Slice (line 23) | KindFloat64Slice type Value (line 55) | type Value struct method Kind (line 129) | func (v Value) Kind() Kind { method IsZero (line 134) | func (v Value) IsZero() bool { method ToAny (line 235) | func (v Value) ToAny() any { method First (line 260) | func (v Value) First() (any, bool) { method All (line 302) | func (v Value) All() []any { method Append (line 351) | func (v Value) Append(other Value) (Value, error) { method isScalar (line 424) | func (v Value) isScalar() bool { method isSlice (line 434) | func (v Value) isSlice() bool { method sliceElementKind (line 444) | func (v Value) sliceElementKind() Kind { function NewStringValue (line 61) | func NewStringValue(s string) Value { function NewInt64Value (line 66) | func NewInt64Value(i int64) Value { function NewBoolValue (line 71) | func NewBoolValue(b bool) Value { function NewFloat64Value (line 76) | func NewFloat64Value(f float64) Value { function NewStringSliceValue (line 82) | func NewStringSliceValue(s []string) Value { function NewInt64SliceValue (line 94) | func NewInt64SliceValue(i []int64) Value { function NewBoolSliceValue (line 106) | func NewBoolSliceValue(b []bool) Value { function NewFloat64SliceValue (line 118) | func NewFloat64SliceValue(f []float64) Value { function FromAny (line 140) | func FromAny(a any) (Value, error) { FILE: modules/zeta/config/value_test.go function TestFromAny (line 10) | func TestFromAny(t *testing.T) { function TestValueAppend (line 143) | func TestValueAppend(t *testing.T) { function TestValueFirstAll (line 238) | func TestValueFirstAll(t *testing.T) { function TestValueSliceCopy (line 308) | func TestValueSliceCopy(t *testing.T) { function compareValues (line 342) | func compareValues(a, b any) bool { function compareSlices (line 411) | func compareSlices(a, b []any) bool { FILE: modules/zeta/error.go type ErrMismatchedObject (line 19) | type ErrMismatchedObject struct method Error (line 24) | func (err *ErrMismatchedObject) Error() string { function IsErrMismatchedObject (line 28) | func IsErrMismatchedObject(err error) bool { type ErrNotExist (line 33) | type ErrNotExist struct method Error (line 38) | func (err *ErrNotExist) Error() string { function NewErrNotExist (line 42) | func NewErrNotExist(t string, oid string) error { function IsErrNotExist (line 46) | func IsErrNotExist(err error) bool { type ErrStatusCode (line 55) | type ErrStatusCode struct method Error (line 60) | func (err *ErrStatusCode) Error() string { function IsErrStatusCode (line 64) | func IsErrStatusCode(err error) bool { function NewErrStatusCode (line 69) | func NewErrStatusCode(statusCode int, format string, a ...any) error { type ErrExitCode (line 73) | type ErrExitCode struct method Error (line 78) | func (err *ErrExitCode) Error() string { function IsErrExitCode (line 82) | func IsErrExitCode(err error) bool { FILE: modules/zeta/object/blob.go type CompressMethod (line 17) | type CompressMethod constant BLOB_CURRENT_VERSION (line 20) | BLOB_CURRENT_VERSION uint16 = 1 constant BLOB_CACHE_SIZE_LIMIT (line 21) | BLOB_CACHE_SIZE_LIMIT = 1024 * 1024 constant STORE (line 22) | STORE CompressMethod = 0 constant ZSTD (line 23) | ZSTD CompressMethod = 1 constant BROTLI (line 24) | BROTLI CompressMethod = 2 constant DEFLATE (line 25) | DEFLATE CompressMethod = 3 constant XZ (line 26) | XZ CompressMethod = 4 constant BZ2 (line 27) | BZ2 CompressMethod = 5 type Blob (line 40) | type Blob struct method Close (line 46) | func (b *Blob) Close() error { function NewBlob (line 53) | func NewBlob(raw io.ReadCloser) (*Blob, error) { function HashFrom (line 93) | func HashFrom(r io.Reader) (plumbing.Hash, error) { FILE: modules/zeta/object/change.go type Change (line 21) | type Change struct method Name (line 31) | func (c *Change) Name() string { method Action (line 37) | func (c *Change) Action() (merkletrie.Action, error) { method Files (line 55) | func (c *Change) Files() (from, to *File, err error) { method String (line 79) | func (c *Change) String() string { method name (line 88) | func (c *Change) name() string { type ChangeEntry (line 97) | type ChangeEntry struct method Equal (line 106) | func (e *ChangeEntry) Equal(o *ChangeEntry) bool { type Changes (line 113) | type Changes method Len (line 115) | func (c Changes) Len() int { method Swap (line 119) | func (c Changes) Swap(i, j int) { method Less (line 123) | func (c Changes) Less(i, j int) bool { method String (line 127) | func (c Changes) String() string { method Stats (line 141) | func (c Changes) Stats(ctx context.Context, opts *PatchOptions) (FileS... method Patch (line 147) | func (c Changes) Patch(ctx context.Context, opts *PatchOptions) ([]*di... FILE: modules/zeta/object/change_adaptor.go function newChange (line 17) | func newChange(c merkletrie.Change) (*Change, error) { function newChangeEntry (line 32) | func newChangeEntry(p noder.Path) (ChangeEntry, error) { function newChanges (line 53) | func newChanges(src merkletrie.Changes) (Changes, error) { FILE: modules/zeta/object/commit.go constant DateFormat (line 25) | DateFormat = "Mon Jan 02 15:04:05 2006 -0700" constant BlobInlineMaxBytes (line 28) | BlobInlineMaxBytes = 4096 type Signature (line 31) | type Signature struct method decodeTimeAndTimeZone (line 39) | func (s *Signature) decodeTimeAndTimeZone(b []byte) { method Decode (line 72) | func (s *Signature) Decode(b []byte) { method String (line 100) | func (s *Signature) String() string { constant formatTimeZoneOnly (line 93) | formatTimeZoneOnly = "-0700" type ExtraHeader (line 111) | type ExtraHeader struct type Commit (line 120) | type Commit struct method Encode (line 148) | func (c *Commit) Encode(w io.Writer) error { method Decode (line 185) | func (c *Commit) Decode(reader Reader) error { method Less (line 262) | func (c *Commit) Less(rhs *Commit) bool { method String (line 282) | func (c *Commit) String() string { method Subject (line 290) | func (c *Commit) Subject() string { method Root (line 298) | func (c *Commit) Root(ctx context.Context) (*Tree, error) { method File (line 305) | func (c *Commit) File(ctx context.Context, path string) (*File, error) { method StatsContext (line 315) | func (c *Commit) StatsContext(ctx context.Context, m noder.Matcher, op... method MakeParents (line 344) | func (c *Commit) MakeParents() CommitIter { method NumParents (line 349) | func (c *Commit) NumParents() int { function indent (line 269) | func indent(t string) string { type CommitIter (line 337) | type CommitIter interface function GetCommit (line 354) | func GetCommit(ctx context.Context, b Backend, oid plumbing.Hash) (*Comm... FILE: modules/zeta/object/commit_test.go function TestCommitCompress (line 17) | func TestCommitCompress(t *testing.T) { function TestCommitDecode (line 53) | func TestCommitDecode(t *testing.T) { function TestSignature (line 85) | func TestSignature(t *testing.T) { function TestBinaryHeap (line 92) | func TestBinaryHeap(t *testing.T) { function TestCommitDecodeWithMultipleParents (line 108) | func TestCommitDecodeWithMultipleParents(t *testing.T) { function TestCommitDecodeWithSpecialCharacters (line 137) | func TestCommitDecodeWithSpecialCharacters(t *testing.T) { function TestCommitDecodeWithExtraHeaderBeforeStandard (line 179) | func TestCommitDecodeWithExtraHeaderBeforeStandard(t *testing.T) { function TestCommitDecodeWithComplexHeaders (line 212) | func TestCommitDecodeWithComplexHeaders(t *testing.T) { type testReader (line 260) | type testReader struct method Hash (line 266) | func (r *testReader) Hash() plumbing.Hash { method Type (line 270) | func (r *testReader) Type() ObjectType { FILE: modules/zeta/object/commit_walker.go type lookupIter (line 20) | type lookupIter struct method Next (line 52) | func (iter *lookupIter) Next(ctx context.Context) (*Commit, error) { method ForEach (line 85) | func (iter *lookupIter) ForEach(ctx context.Context, cb func(*Commit) ... method Close (line 106) | func (iter *lookupIter) Close() { function NewCommitIter (line 36) | func NewCommitIter(b Backend, hashes []plumbing.Hash) CommitIter { type commitPreIterator (line 120) | type commitPreIterator struct method Next (line 178) | func (w *commitPreIterator) Next(ctx context.Context) (*Commit, error) { method ForEach (line 256) | func (w *commitPreIterator) ForEach(ctx context.Context, cb func(*Comm... method Close (line 280) | func (w *commitPreIterator) Close() {} function NewCommitPreorderIter (line 143) | func NewCommitPreorderIter( function filteredParentIter (line 230) | func filteredParentIter(c *Commit, seen map[plumbing.Hash]bool) CommitIt... type commitPostIterator (line 292) | type commitPostIterator struct method Next (line 330) | func (w *commitPostIterator) Next(ctx context.Context) (*Commit, error) { method ForEach (line 352) | func (w *commitPostIterator) ForEach(ctx context.Context, cb func(*Com... method Close (line 374) | func (w *commitPostIterator) Close() {} function NewCommitPostorderIter (line 318) | func NewCommitPostorderIter(c *Commit, ignore []plumbing.Hash) CommitIter { type commitAllIterator (line 377) | type commitAllIterator struct method Next (line 481) | func (it *commitAllIterator) Next(ctx context.Context) (*Commit, error) { method ForEach (line 492) | func (it *commitAllIterator) ForEach(ctx context.Context, cb func(*Com... method Close (line 514) | func (it *commitAllIterator) Close() { function NewCommitAllIter (line 385) | func NewCommitAllIter(ctx context.Context, rdb refs.Backend, odb Backend... function addReference (line 425) | func addReference( type commitPostIteratorFirstParent (line 518) | type commitPostIteratorFirstParent struct method Next (line 545) | func (w *commitPostIteratorFirstParent) Next(ctx context.Context) (*Co... method ForEach (line 568) | func (w *commitPostIteratorFirstParent) ForEach(ctx context.Context, c... method Close (line 589) | func (w *commitPostIteratorFirstParent) Close() {} function NewCommitPostorderIterFirstParent (line 533) | func NewCommitPostorderIterFirstParent(c *Commit, ignore []plumbing.Hash... FILE: modules/zeta/object/commit_walker_atime.go type commitIteratorByATime (line 17) | type commitIteratorByATime struct method Next (line 67) | func (w *commitIteratorByATime) Next(ctx context.Context) (*Commit, er... method ForEach (line 105) | func (w *commitIteratorByATime) ForEach(ctx context.Context, cb func(*... method Close (line 128) | func (w *commitIteratorByATime) Close() {} function NewCommitIterATime (line 38) | func NewCommitIterATime( FILE: modules/zeta/object/commit_walker_bfs.go type bfsCommitIterator (line 18) | type bfsCommitIterator struct method appendHash (line 53) | func (w *bfsCommitIterator) appendHash(ctx context.Context, b Backend,... method Next (line 68) | func (w *bfsCommitIterator) Next(ctx context.Context) (*Commit, error) { method ForEach (line 101) | func (w *bfsCommitIterator) ForEach(ctx context.Context, cb func(*Comm... method Close (line 124) | func (w *bfsCommitIterator) Close() {} function NewCommitIterBFS (line 34) | func NewCommitIterBFS( FILE: modules/zeta/object/commit_walker_bfs_filtered.go function NewFilterCommitIter (line 23) | func NewFilterCommitIter( type CommitFilter (line 56) | type CommitFilter type filterCommitIter (line 64) | type filterCommitIter struct method Next (line 80) | func (w *filterCommitIter) Next(ctx context.Context) (*Commit, error) { method ForEach (line 106) | func (w *filterCommitIter) ForEach(ctx context.Context, cb func(*Commi... method Error (line 128) | func (w *filterCommitIter) Error() error { method Close (line 134) | func (w *filterCommitIter) Close() { method close (line 149) | func (w *filterCommitIter) close(err error) error { method popNewFromQueue (line 165) | func (w *filterCommitIter) popNewFromQueue() (*Commit, error) { method addToQueue (line 190) | func (w *filterCommitIter) addToQueue( FILE: modules/zeta/object/commit_walker_ctime.go type commitIteratorByCTime (line 17) | type commitIteratorByCTime struct method Next (line 66) | func (w *commitIteratorByCTime) Next(ctx context.Context) (*Commit, er... method ForEach (line 104) | func (w *commitIteratorByCTime) ForEach(ctx context.Context, cb func(*... method Close (line 127) | func (w *commitIteratorByCTime) Close() {} function NewCommitIterCTime (line 37) | func NewCommitIterCTime( FILE: modules/zeta/object/commit_walker_limit.go type commitLimitIter (line 17) | type commitLimitIter struct method Next (line 43) | func (c *commitLimitIter) Next(ctx context.Context) (*Commit, error) { method ForEach (line 64) | func (c *commitLimitIter) ForEach(ctx context.Context, cb func(*Commit... method Close (line 84) | func (c *commitLimitIter) Close() { type LogLimitOptions (line 25) | type LogLimitOptions struct function NewCommitLimitIterFromIter (line 34) | func NewCommitLimitIterFromIter(commitIter CommitIter, limitOptions LogL... FILE: modules/zeta/object/commit_walker_path.go type commitPathIter (line 18) | type commitPathIter struct method Next (line 62) | func (c *commitPathIter) Next(ctx context.Context) (*Commit, error) { method getNextFileCommit (line 79) | func (c *commitPathIter) getNextFileCommit(ctx context.Context) (*Comm... method hasFileChange (line 138) | func (c *commitPathIter) hasFileChange(changes Changes, parent *Commit... method ForEach (line 166) | func (c *commitPathIter) ForEach(ctx context.Context, cb func(*Commit)... method Close (line 186) | func (c *commitPathIter) Close() { function NewCommitPathIterFromIter (line 41) | func NewCommitPathIterFromIter(pathFilter func(string) bool, commitIter ... function NewCommitFileIterFromIter (line 52) | func NewCommitFileIterFromIter(fileName string, commitIter CommitIter, c... function isParentHash (line 160) | func isParentHash(hash plumbing.Hash, commit *Commit) bool { FILE: modules/zeta/object/commit_walker_test.go type MockBackend (line 14) | type MockBackend struct method AddCommit (line 24) | func (m *MockBackend) AddCommit(commit *Commit) { method Commit (line 29) | func (m *MockBackend) Commit(ctx context.Context, hash plumbing.Hash) ... method Tree (line 37) | func (m *MockBackend) Tree(ctx context.Context, hash plumbing.Hash) (*... method Fragments (line 41) | func (m *MockBackend) Fragments(ctx context.Context, hash plumbing.Has... method Tag (line 45) | func (m *MockBackend) Tag(ctx context.Context, hash plumbing.Hash) (*T... method Blob (line 49) | func (m *MockBackend) Blob(ctx context.Context, hash plumbing.Hash) (*... function NewMockBackend (line 18) | func NewMockBackend() *MockBackend { function NewTestCommit (line 54) | func NewTestCommit(hash string, message string, parents ...*Commit) *Com... function TestCommitPreorderIter (line 69) | func TestCommitPreorderIter(t *testing.T) { function TestCommitPreorderIterWithMerge (line 109) | func TestCommitPreorderIterWithMerge(t *testing.T) { function TestCommitPreorderIterDeduplication (line 179) | func TestCommitPreorderIterDeduplication(t *testing.T) { function TestCommitBFSIter (line 220) | func TestCommitBFSIter(t *testing.T) { function TestCommitBFSIterWithMerge (line 266) | func TestCommitBFSIterWithMerge(t *testing.T) { function TestCommitTopoOrderIter (line 336) | func TestCommitTopoOrderIter(t *testing.T) { function TestFilterCommitIter (line 377) | func TestFilterCommitIter(t *testing.T) { function TestFilterCommitIterWithLimit (line 436) | func TestFilterCommitIterWithLimit(t *testing.T) { function TestCommitWalkerShallowClone (line 508) | func TestCommitWalkerShallowClone(t *testing.T) { function TestCommitWalkerShallowCloneWithMerge (line 558) | func TestCommitWalkerShallowCloneWithMerge(t *testing.T) { function TestCommitWalkerContextCancellation (line 614) | func TestCommitWalkerContextCancellation(t *testing.T) { function TestCommitIterForEachStop (line 654) | func TestCommitIterForEachStop(t *testing.T) { function TestCommitIterNextDirectly (line 688) | func TestCommitIterNextDirectly(t *testing.T) { function TestCommitIterClose (line 730) | func TestCommitIterClose(t *testing.T) { function TestCommitWalkerErrorPropagation (line 763) | func TestCommitWalkerErrorPropagation(t *testing.T) { FILE: modules/zeta/object/commit_walker_topo_order.go type commitStacker (line 14) | type commitStacker interface type commitStack (line 22) | type commitStack struct method Push (line 26) | func (cs *commitStack) Push(c *Commit) { method Pop (line 32) | func (cs *commitStack) Pop() (*Commit, bool) { method Peek (line 43) | func (cs *commitStack) Peek() (*Commit, bool) { method Size (line 51) | func (cs *commitStack) Size() int { type commitHeap (line 58) | type commitHeap struct method Push (line 63) | func (h *commitHeap) Push(c *Commit) { method Pop (line 69) | func (h *commitHeap) Pop() (*Commit, bool) { method Peek (line 79) | func (h *commitHeap) Peek() (*Commit, bool) { method Size (line 88) | func (h *commitHeap) Size() int { function composeIgnores (line 94) | func composeIgnores(ignore []plumbing.Hash, seenExternal map[plumbing.Ha... type commitTopoOrderIterator (line 109) | type commitTopoOrderIterator struct method Next (line 159) | func (w *commitTopoOrderIterator) Next(ctx context.Context) (*Commit, ... method ForEach (line 239) | func (w *commitTopoOrderIterator) ForEach(ctx context.Context, cb func... method Close (line 262) | func (w *commitTopoOrderIterator) Close() {} function NewCommitIterTopoOrder (line 125) | func NewCommitIterTopoOrder(c *Commit, seenExternal map[plumbing.Hash]bo... FILE: modules/zeta/object/difftree.go function DiffTree (line 18) | func DiffTree(a, b *Tree, m noder.Matcher) (Changes, error) { function DiffTreeContext (line 25) | func DiffTreeContext(ctx context.Context, a, b *Tree, m noder.Matcher) (... type DiffTreeOptions (line 30) | type DiffTreeOptions struct function DiffTreeWithOptions (line 67) | func DiffTreeWithOptions( FILE: modules/zeta/object/file.go type File (line 18) | type File struct method IsFragments (line 42) | func (f *File) IsFragments() bool { method asFile (line 49) | func (f *File) asFile() *diferenco.File { method OriginReader (line 57) | func (f *File) OriginReader(ctx context.Context) (io.ReadCloser, int64... method Reader (line 72) | func (f *File) Reader(ctx context.Context) (io.ReadCloser, bool, error) { method UnifiedText (line 89) | func (f *File) UnifiedText(ctx context.Context, codecvt bool) (content... function newFile (line 33) | func newFile(name string, p string, m filemode.FileMode, hash plumbing.H... type readCloser (line 37) | type readCloser struct constant sniffLen (line 69) | sniffLen = 8000 type FileIter (line 104) | type FileIter struct method Next (line 117) | func (iter *FileIter) Next(ctx context.Context) (*File, error) { method ForEach (line 135) | func (iter *FileIter) ForEach(ctx context.Context, cb func(*File) erro... method Close (line 158) | func (iter *FileIter) Close() { function NewFileIter (line 111) | func NewFileIter(b Backend, t *Tree) *FileIter { FILE: modules/zeta/object/fragments.go type Fragment (line 20) | type Fragment struct type FragmentsOrder (line 26) | type FragmentsOrder method Len (line 30) | func (s FragmentsOrder) Len() int { return len(s) } method Swap (line 33) | func (s FragmentsOrder) Swap(i, j int) { s[i], s[j] = s[j], s[i] } method Less (line 41) | func (s FragmentsOrder) Less(i, j int) bool { type Fragments (line 45) | type Fragments struct method Encode (line 53) | func (f *Fragments) Encode(w io.Writer) error { method Decode (line 79) | func (f *Fragments) Decode(reader Reader) error { FILE: modules/zeta/object/merge_base.go method MergeBase (line 20) | func (c *Commit) MergeBase(ctx context.Context, other *Commit) ([]*Commi... method IsAncestor (line 49) | func (c *Commit) IsAncestor(ctx context.Context, other *Commit) (bool, e... function ancestorsIndex (line 67) | func ancestorsIndex(ctx context.Context, excluded, starting *Commit) (ma... function Independents (line 92) | func Independents(ctx context.Context, commits []*Commit) ([]*Commit, er... function sortByCommitDateDesc (line 151) | func sortByCommitDateDesc(commits ...*Commit) []*Commit { function indexOf (line 162) | func indexOf(commits []*Commit, target *Commit) int { function remove (line 173) | func remove(commits []*Commit, toDelete *Commit) []*Commit { function removeDuplicated (line 189) | func removeDuplicated(commits []*Commit) []*Commit { function isInIndexCommitFilter (line 208) | func isInIndexCommitFilter(index map[plumbing.Hash]bool) CommitFilter { FILE: modules/zeta/object/object.go type ObjectType (line 25) | type ObjectType method String (line 41) | func (t ObjectType) String() string { method MarshalJSON (line 89) | func (t ObjectType) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 93) | func (t *ObjectType) UnmarshalJSON(b []byte) error { constant InvalidObject (line 28) | InvalidObject ObjectType = 0 constant CommitObject (line 29) | CommitObject ObjectType = 1 constant TreeObject (line 30) | TreeObject ObjectType = 2 constant BlobObject (line 31) | BlobObject ObjectType = 3 constant TagObject (line 32) | TagObject ObjectType = 4 constant OFSDeltaObject (line 34) | OFSDeltaObject ObjectType = 6 constant REFDeltaObject (line 35) | REFDeltaObject ObjectType = 7 constant FragmentsObject (line 36) | FragmentsObject ObjectType = 8 constant AnyObject (line 38) | AnyObject ObjectType = -127 function ObjectTypeFromString (line 66) | func ObjectTypeFromString(s string) ObjectType { type Reader (line 102) | type Reader interface type reader (line 108) | type reader struct method Hash (line 114) | func (r *reader) Hash() plumbing.Hash { method Type (line 118) | func (r *reader) Type() ObjectType { constant ZSTD_MAGIC (line 124) | ZSTD_MAGIC = 0xFD2FB528 function isZstdMagic (line 127) | func isZstdMagic(magic [4]byte) bool { function Decode (line 131) | func Decode(r io.Reader, oid plumbing.Hash, b Backend) (any, error) { function Base64Decode (line 171) | func Base64Decode(input string, oid plumbing.Hash, b Backend) (any, erro... function Base64DecodeAs (line 179) | func Base64DecodeAs[T Commit | Tree | Fragments | Tag](input string, oid... function HashObject (line 194) | func HashObject(r io.Reader) (plumbing.Hash, ObjectType, error) { type Encoder (line 231) | type Encoder interface function Base64Encode (line 235) | func Base64Encode(e Encoder) (string, error) { function Hash (line 243) | func Hash(e Encoder) plumbing.Hash { function NewSnapshotCommit (line 251) | func NewSnapshotCommit(cc *Commit, b Backend) *Commit { function NewSnapshotTree (line 264) | func NewSnapshotTree(t *Tree, b Backend) *Tree { function NewEmptyTree (line 276) | func NewEmptyTree(b Backend) *Tree { FILE: modules/zeta/object/patch.go type PatchOptions (line 19) | type PatchOptions struct function sizeOverflow (line 25) | func sizeOverflow(f *File) bool { function PathRenameCombine (line 29) | func PathRenameCombine(from, to string) string { function fileStatName (line 43) | func fileStatName(from, to *File) string { function fileStatWithContext (line 59) | func fileStatWithContext(ctx context.Context, opts *PatchOptions, c *Cha... function getStatsContext (line 100) | func getStatsContext(ctx context.Context, opts *PatchOptions, changes ..... function filePatchWithContext (line 120) | func filePatchWithContext(ctx context.Context, opts *PatchOptions, c *Ch... function getPatchContext (line 152) | func getPatchContext(ctx context.Context, opts *PatchOptions, changes ..... type FileStat (line 173) | type FileStat struct method String (line 179) | func (fs FileStat) String() string { type FileStats (line 186) | type FileStats method String (line 188) | func (fileStats FileStats) String() string { function StatsWriteTo (line 199) | func StatsWriteTo(w io.Writer, fileStats []FileStat, isColorSupported bo... FILE: modules/zeta/object/patch_test.go function TestPathRenameCombine (line 9) | func TestPathRenameCombine(t *testing.T) { FILE: modules/zeta/object/rename.go function DetectRenames (line 22) | func DetectRenames( type renameDetector (line 58) | type renameDetector struct method detectExactRenames (line 72) | func (d *renameDetector) detectExactRenames() { method detectContentRenames (line 212) | func (d *renameDetector) detectContentRenames(ctx context.Context) err... method detect (line 251) | func (d *renameDetector) detect(ctx context.Context) (Changes, error) { function bestNameMatch (line 272) | func bestNameMatch(change *Change, changes []*Change) *Change { function nameSimilarityScore (line 289) | func nameSimilarityScore(a, b string) int { function changeName (line 337) | func changeName(c *Change) string { function changeHash (line 344) | func changeHash(c *Change) plumbing.Hash { function changeMode (line 352) | func changeMode(c *Change) filemode.FileMode { function sameMode (line 360) | func sameMode(a, b *Change) bool { function groupChangesByHash (line 364) | func groupChangesByHash(changes []*Change) map[plumbing.Hash][]*Change { type similarityMatrix (line 373) | type similarityMatrix method Len (line 375) | func (m similarityMatrix) Len() int { return len(m) } method Swap (line 376) | func (m similarityMatrix) Swap(i, j int) { m[i], m[j] = m[j], m[i] } method Less (line 377) | func (m similarityMatrix) Less(i, j int) bool { type similarityPair (line 387) | type similarityPair struct constant maxMatrixSize (line 396) | maxMatrixSize = 10000 function buildSimilarityMatrix (line 398) | func buildSimilarityMatrix(ctx context.Context, srcs, dsts []*Change, re... function compactChanges (line 510) | func compactChanges(changes []*Change) []*Change { constant keyShift (line 521) | keyShift = 32 constant maxCountValue (line 522) | maxCountValue = (1 << keyShift) - 1 type similarityIndex (line 535) | type similarityIndex struct method hash (line 563) | func (i *similarityIndex) hash(ctx context.Context, f *File) error { method hashContent (line 573) | func (i *similarityIndex) hashContent(r io.Reader, size int64, isBin b... method score (line 637) | func (i *similarityIndex) score(other *similarityIndex, maxScore int) ... method common (line 649) | func (i *similarityIndex) common(dst *similarityIndex) uint64 { method add (line 698) | func (i *similarityIndex) add(key int, cnt uint64) error { method slot (line 752) | func (i *similarityIndex) slot(key int) int { method grow (line 763) | func (i *similarityIndex) grow() error { function fileSimilarityIndex (line 544) | func fileSimilarityIndex(ctx context.Context, f *File) (*similarityIndex... function newSimilarityIndex (line 555) | func newSimilarityIndex() *similarityIndex { type keyCountPair (line 734) | type keyCountPair method key (line 744) | func (p keyCountPair) key() int { method count (line 748) | func (p keyCountPair) count() uint64 { function newKeyCountPair (line 736) | func newKeyCountPair(key int, cnt uint64) (keyCountPair, error) { function shouldGrowAt (line 759) | func shouldGrowAt(hashBits int) int { type keyCountPairs (line 793) | type keyCountPairs method Len (line 795) | func (p keyCountPairs) Len() int { return len(p) } method Swap (line 796) | func (p keyCountPairs) Swap(i, j int) { p[i], p[j] = p[j], p[i] } method Less (line 797) | func (p keyCountPairs) Less(i, j int) bool { return p[i] < p[j] } FILE: modules/zeta/object/storage.go type Backend (line 12) | type Backend interface FILE: modules/zeta/object/tag.go type Tag (line 19) | type Tag struct method Extract (line 31) | func (t *Tag) Extract() (message string, signature string) { method Message (line 38) | func (t *Tag) Message() string { method Decode (line 49) | func (t *Tag) Decode(reader Reader) error { method Encode (line 113) | func (t *Tag) Encode(w io.Writer) error { method Equal (line 132) | func (t *Tag) Equal(other *Tag) bool { method Copy (line 148) | func (t *Tag) Copy() *Tag { FILE: modules/zeta/object/tree.go constant maxTreeDepth (line 25) | maxTreeDepth = 1024 constant startingStackSize (line 26) | startingStackSize = 8 type ErrDirectoryNotFound (line 35) | type ErrDirectoryNotFound struct method Error (line 39) | func (e *ErrDirectoryNotFound) Error() string { function IsErrDirectoryNotFound (line 43) | func IsErrDirectoryNotFound(err error) bool { type ErrEntryNotFound (line 48) | type ErrEntryNotFound struct method Error (line 52) | func (e *ErrEntryNotFound) Error() string { function IsErrEntryNotFound (line 56) | func IsErrEntryNotFound(err error) bool { type TreeEntry (line 62) | type TreeEntry struct method Clone (line 70) | func (e *TreeEntry) Clone() *TreeEntry { method Equal (line 82) | func (e *TreeEntry) Equal(other *TreeEntry) bool { method Type (line 104) | func (e *TreeEntry) Type() ObjectType { method IsLink (line 124) | func (e *TreeEntry) IsLink() bool { method IsDir (line 128) | func (e *TreeEntry) IsDir() bool { method IsRegular (line 132) | func (e *TreeEntry) IsRegular() bool { method IsFragments (line 136) | func (e *TreeEntry) IsFragments() bool { method OriginMode (line 140) | func (e *TreeEntry) OriginMode() filemode.FileMode { method Renamed (line 145) | func (e *TreeEntry) Renamed(other *TreeEntry) bool { method Chmod (line 149) | func (e *TreeEntry) Chmod(other *TreeEntry) bool { method Modified (line 154) | func (e *TreeEntry) Modified(other *TreeEntry) bool { constant sIFMT (line 96) | sIFMT = filemode.FileMode(0170000) constant sIFREG (line 97) | sIFREG = filemode.FileMode(0100000) constant sIFDIR (line 98) | sIFDIR = filemode.FileMode(0040000) constant sIFLNK (line 99) | sIFLNK = filemode.FileMode(0120000) constant sIFGITLINK (line 100) | sIFGITLINK = filemode.FileMode(0160000) constant sIFRAGMENT (line 101) | sIFRAGMENT = filemode.Fragments type SubtreeOrder (line 168) | type SubtreeOrder method Len (line 172) | func (s SubtreeOrder) Len() int { return len(s) } method Swap (line 175) | func (s SubtreeOrder) Swap(i, j int) { s[i], s[j] = s[j], s[i] } method Less (line 183) | func (s SubtreeOrder) Less(i, j int) bool { method Name (line 193) | func (s SubtreeOrder) Name(i int) string { type Tree (line 295) | type Tree struct method Append (line 206) | func (t *Tree) Append(others *TreeEntry) { method Merge (line 221) | func (t *Tree) Merge(others ...*TreeEntry) *Tree { method Equal (line 271) | func (t *Tree) Equal(other *Tree) bool { method Tree (line 310) | func (t *Tree) Tree(ctx context.Context, path string) (*Tree, error) { method Entry (line 321) | func (t *Tree) Entry(name string) (*TreeEntry, error) { method FindEntry (line 326) | func (t *Tree) FindEntry(ctx context.Context, relativePath string) (*T... method dir (line 364) | func (t *Tree) dir(ctx context.Context, baseName string) (*Tree, error) { method entry (line 380) | func (t *Tree) entry(baseName string) (*TreeEntry, error) { method Files (line 394) | func (t *Tree) Files() *FileIter { method buildMap (line 398) | func (t *Tree) buildMap() { method SpacePadding (line 405) | func (t *Tree) SpacePadding() int { method SizePadding (line 418) | func (t *Tree) SizePadding() int { method Encode (line 435) | func (t *Tree) Encode(w io.Writer) error { method Decode (line 468) | func (t *Tree) Decode(reader Reader) error { method File (line 554) | func (t *Tree) File(ctx context.Context, path string) (*File, error) { method Diff (line 563) | func (t *Tree) Diff(to *Tree, m noder.Matcher) (Changes, error) { method DiffContext (line 572) | func (t *Tree) DiffContext(ctx context.Context, to *Tree, m noder.Matc... method StatsContext (line 577) | func (t *Tree) StatsContext(ctx context.Context, to *Tree, m noder.Mat... function NewTree (line 304) | func NewTree(entries []*TreeEntry) *Tree { function resolveTree (line 540) | func resolveTree(ctx context.Context, b Backend, h plumbing.Hash) (*Tree... type treeEntryIter (line 586) | type treeEntryIter struct method Next (line 591) | func (iter *treeEntryIter) Next() (*TreeEntry, error) { type TreeWalker (line 600) | type TreeWalker struct method Next (line 635) | func (w *TreeWalker) Next(ctx context.Context) (name string, entry *Tr... method Tree (line 697) | func (w *TreeWalker) Tree() *Tree { method Close (line 711) | func (w *TreeWalker) Close() { function NewTreeWalker (line 614) | func NewTreeWalker(t *Tree, recursive bool, seen map[plumbing.Hash]bool)... function simpleJoin (line 715) | func simpleJoin(parent, child string) string { FILE: modules/zeta/object/tree_test.go function ShowType (line 11) | func ShowType(mode filemode.FileMode) ObjectType { function TestFragments (line 26) | func TestFragments(t *testing.T) { function TestNotFragments (line 47) | func TestNotFragments(t *testing.T) { FILE: modules/zeta/object/treenode.go type TreeNoder (line 26) | type TreeNoder struct method Skip (line 55) | func (t *TreeNoder) Skip() bool { method isRoot (line 59) | func (t *TreeNoder) isRoot() bool { method String (line 63) | func (t *TreeNoder) String() string { method Mode (line 67) | func (t *TreeNoder) Mode() filemode.FileMode { method TrueMode (line 71) | func (t *TreeNoder) TrueMode() filemode.FileMode { method HashRaw (line 78) | func (t *TreeNoder) HashRaw() plumbing.Hash { method IsFragments (line 85) | func (t *TreeNoder) IsFragments() bool { method Hash (line 89) | func (t *TreeNoder) Hash() []byte { method Name (line 96) | func (t *TreeNoder) Name() string { method Size (line 100) | func (t *TreeNoder) Size() int64 { method IsDir (line 104) | func (t *TreeNoder) IsDir() bool { method Children (line 110) | func (t *TreeNoder) Children(ctx context.Context) ([]noder.Noder, erro... method NumChildren (line 243) | func (t *TreeNoder) NumChildren(ctx context.Context) (int, error) { function NewTreeRootNode (line 40) | func NewTreeRootNode(t *Tree, m noder.Matcher, conflictDetection bool) n... function canonicalName (line 141) | func canonicalName(name string) string { constant dot (line 149) | dot = "." constant dotDot (line 150) | dotDot = ".." function transformChildren (line 155) | func transformChildren(ctx context.Context, t *Tree, m noder.Matcher, co... FILE: modules/zeta/reflog/reflog.go constant REFLOG_DIR (line 21) | REFLOG_DIR = "logs" constant REFLOG_DIR_MOD (line 22) | REFLOG_DIR_MOD = 0777 constant REFLOG_FILE_MODE (line 23) | REFLOG_FILE_MODE = 0666 type Entry (line 26) | type Entry struct type Entries (line 32) | type Entries type Reflog (line 34) | type Reflog struct method Empty (line 39) | func (o *Reflog) Empty() bool { method Clear (line 43) | func (o *Reflog) Clear() { method Drop (line 47) | func (o *Reflog) Drop(index int, rewritePreviousEntry bool) error { method Push (line 70) | func (o *Reflog) Push(oid plumbing.Hash, committer *object.Signature, ... type DB (line 85) | type DB struct method parse (line 124) | func (d *DB) parse(r io.Reader) ([]*Entry, error) { method serialize (line 141) | func (d *DB) serialize(w io.Writer, entries []*Entry) error { method Exists (line 157) | func (d *DB) Exists(refname plumbing.ReferenceName) bool { method Read (line 165) | func (d *DB) Read(refname plumbing.ReferenceName) (*Reflog, error) { method Write (line 194) | func (d *DB) Write(o *Reflog) error { method Rename (line 226) | func (d *DB) Rename(oldName, newName plumbing.ReferenceName) error { method Delete (line 254) | func (d *DB) Delete(name plumbing.ReferenceName) error { method lockPath (line 269) | func (d *DB) lockPath(refname plumbing.ReferenceName, p string, fn fun... method lockTowPath (line 284) | func (d *DB) lockTowPath(refnameA, refnameB plumbing.ReferenceName, a,... method prune (line 324) | func (d *DB) prune() error { function NewDB (line 89) | func NewDB(root string) *DB { function newEntry (line 97) | func newEntry(line string) (*Entry, error) { function openNotExists (line 311) | func openNotExists(name string) (*os.File, error) { function pruneDirsDFS (line 342) | func pruneDirsDFS(dir string, keep bool) error { FILE: modules/zeta/reflog/reflog_test.go function TestReflogRead (line 14) | func TestReflogRead(t *testing.T) { function TestReflogWrite (line 31) | func TestReflogWrite(t *testing.T) { function TestReflogDrop (line 51) | func TestReflogDrop(t *testing.T) { function TestReflogDrop1 (line 69) | func TestReflogDrop1(t *testing.T) { function TestReflogDrop2 (line 88) | func TestReflogDrop2(t *testing.T) { function TestReflogDrop3 (line 107) | func TestReflogDrop3(t *testing.T) { function TestReflogPush (line 126) | func TestReflogPush(t *testing.T) { FILE: modules/zeta/refs/backend.go type Backend (line 13) | type Backend interface function ReferencesDB (line 34) | func ReferencesDB(repoPath string) (*DB, error) { constant MaxResolveRecursion (line 38) | MaxResolveRecursion = 1024 function ReferenceResolve (line 44) | func ReferenceResolve(b Backend, name plumbing.ReferenceName) (ref *plum... type ReferenceIter (line 58) | type ReferenceIter interface type ReferenceSliceIter (line 64) | type ReferenceSliceIter struct method Next (line 79) | func (iter *ReferenceSliceIter) Next() (*plumbing.Reference, error) { method ForEach (line 92) | func (iter *ReferenceSliceIter) ForEach(cb func(*plumbing.Reference) e... method Close (line 124) | func (iter *ReferenceSliceIter) Close() { function NewReferenceSliceIter (line 71) | func NewReferenceSliceIter(series []*plumbing.Reference) ReferenceIter { type bareReferenceIterator (line 96) | type bareReferenceIterator interface function forEachReferenceIter (line 101) | func forEachReferenceIter(iter bareReferenceIterator, cb func(*plumbing.... function NewReferenceIter (line 128) | func NewReferenceIter(b Backend) (ReferenceIter, error) { FILE: modules/zeta/refs/filesystem.go constant suffix (line 21) | suffix = ".zeta" constant packedRefsPath (line 22) | packedRefsPath = "packed-refs" constant configPath (line 23) | configPath = "config" constant indexPath (line 24) | indexPath = "index" constant shallowPath (line 25) | shallowPath = "shallow" constant modulePath (line 26) | modulePath = "modules" constant objectsPath (line 27) | objectsPath = "objects" constant packPath (line 28) | packPath = "pack" constant refsPath (line 29) | refsPath = "refs" constant branchesPath (line 30) | branchesPath = "branches" constant hooksPath (line 31) | hooksPath = "hooks" constant infoPath (line 32) | infoPath = "info" constant remotesPath (line 33) | remotesPath = "remotes" constant logsPath (line 34) | logsPath = "logs" constant worktreesPath (line 35) | worktreesPath = "worktrees" constant tmpPackedRefsPrefix (line 36) | tmpPackedRefsPrefix = "._packed-refs" type fsBackend (line 47) | type fsBackend struct method HEAD (line 55) | func (b *fsBackend) HEAD() (*plumbing.Reference, error) { method References (line 59) | func (b *fsBackend) References() (*DB, error) { method addRefsFromRefDir (line 74) | func (b *fsBackend) addRefsFromRefDir(db *DB) error { method addRefsFromPackedRefs (line 78) | func (b *fsBackend) addRefsFromPackedRefs(db *DB) error { method readRefFromHEAD (line 105) | func (b *fsBackend) readRefFromHEAD() (*plumbing.Reference, error) { method walkReferencesTree (line 116) | func (b *fsBackend) walkReferencesTree(prefix string, db *DB) error { method readReferenceFile (line 149) | func (b *fsBackend) readReferenceFile(refname string) (ref *plumbing.R... method readReferenceMatchPrefix (line 166) | func (b *fsBackend) readReferenceMatchPrefix(prefix string) (ref *plum... method readReferenceFrom (line 202) | func (b *fsBackend) readReferenceFrom(rd io.Reader, name string) (ref ... method processLine (line 211) | func (b *fsBackend) processLine(line string) (*plumbing.Reference, err... method matchReferenceName (line 231) | func (b *fsBackend) matchReferenceName(line string, want string) (*plu... method packedRef (line 253) | func (b *fsBackend) packedRef(name plumbing.ReferenceName) (*plumbing.... method matchReferenceNamePrefix (line 282) | func (b *fsBackend) matchReferenceNamePrefix(line string, prefix strin... method matchPackedRefPrefix (line 304) | func (b *fsBackend) matchPackedRefPrefix(prefix plumbing.ReferenceName... method Reference (line 328) | func (b *fsBackend) Reference(name plumbing.ReferenceName) (*plumbing.... method ReferencePrefixMatch (line 336) | func (b *fsBackend) ReferencePrefixMatch(prefix plumbing.ReferenceName... method checkReference (line 344) | func (b *fsBackend) checkReference(old *plumbing.Reference) error { method lockPackedRefs (line 363) | func (b *fsBackend) lockPackedRefs(fn func() error) error { method rewritePackedRefsWithoutRef (line 384) | func (b *fsBackend) rewritePackedRefsWithoutRef(name plumbing.Referenc... method ReferenceRemove (line 438) | func (b *fsBackend) ReferenceRemove(r *plumbing.Reference) error { method Update (line 461) | func (b *fsBackend) Update(r, old *plumbing.Reference) error { method rewritePackedRefs (line 496) | func (b *fsBackend) rewritePackedRefs() error { method Packed (line 560) | func (b *fsBackend) Packed() error { method prune (line 576) | func (b *fsBackend) prune() error { function NewBackend (line 51) | func NewBackend(repoPath string) Backend { function prefixMatch (line 277) | func prefixMatch(name, prefix string) bool { function openNotExists (line 358) | func openNotExists(name string) (*os.File, error) { function CheckClose (line 378) | func CheckClose(c io.Closer, err *error) { function pruneDirsDFS (line 594) | func pruneDirsDFS(dir string, keep bool) error { FILE: modules/zeta/refs/filesystem_test.go function TestBackend (line 11) | func TestBackend(t *testing.T) { function TestRemove (line 34) | func TestRemove(t *testing.T) { FILE: modules/zeta/refs/references.go type DB (line 13) | type DB struct method References (line 19) | func (d *DB) References() []*plumbing.Reference { method Sort (line 23) | func (d *DB) Sort() { method HEAD (line 27) | func (d *DB) HEAD() *plumbing.Reference { method Lookup (line 31) | func (d *DB) Lookup(name string) *plumbing.Reference { method Resolve (line 40) | func (d *DB) Resolve(name plumbing.ReferenceName) (*plumbing.Reference... method ShortName (line 57) | func (d *DB) ShortName(refname plumbing.ReferenceName, strict bool) st... method Exists (line 101) | func (d *DB) Exists(refname plumbing.ReferenceName) bool { method IsCurrent (line 106) | func (d *DB) IsCurrent(refname plumbing.ReferenceName) bool { FILE: modules/zeta/refs/rules.go type Rule (line 18) | type Rule struct method ReferenceName (line 23) | func (r Rule) ReferenceName(name string) plumbing.ReferenceName { method ShortName (line 27) | func (r Rule) ShortName(name string) string { function RefRevParseRules (line 48) | func RefRevParseRules() []*Rule { FILE: modules/zeta/refs/rules_test.go function TestRefRevParseRules (line 11) | func TestRefRevParseRules(t *testing.T) { function BenchmarkRepeat (line 17) | func BenchmarkRepeat(b *testing.B) { function BenchmarkRepeat2 (line 25) | func BenchmarkRepeat2(b *testing.B) { FILE: pkg/command/command.go type Globals (line 14) | type Globals struct type VersionFlag (line 21) | type VersionFlag method Decode (line 23) | func (v VersionFlag) Decode(ctx *kong.DecodeContext) error { return nil } method IsBool (line 24) | func (v VersionFlag) IsBool() bool { return tr... method BeforeApply (line 25) | func (v VersionFlag) BeforeApply(app *kong.Kong, vars kong.Vars) error { FILE: pkg/command/command_add.go type Add (line 19) | type Add struct method Run (line 27) | func (a *Add) Run(g *Globals) error { FILE: pkg/command/command_branch.go type Branch (line 14) | type Branch struct method Summary (line 36) | func (b *Branch) Summary() string { method IsMove (line 41) | func (b *Branch) IsMove() bool { method IsDelete (line 45) | func (b *Branch) IsDelete() bool { method IsForceMove (line 49) | func (b *Branch) IsForceMove() bool { method IsForceDelete (line 53) | func (b *Branch) IsForceDelete() bool { method IsForceCopy (line 57) | func (b *Branch) IsForceCopy() bool { method Run (line 61) | func (b *Branch) Run(g *Globals) error { constant branchSummaryFormat (line 28) | branchSummaryFormat = `%szeta branch [] [-f] [] ... FILE: pkg/command/command_checkout.go type Checkout (line 18) | type Checkout struct method Summary (line 42) | func (c *Checkout) Summary() string { method Passthrough (line 47) | func (c *Checkout) Passthrough(paths []string) { method doRemote (line 51) | func (c *Checkout) doRemote(g *Globals, remote, destination string) er... method destination (line 88) | func (c *Checkout) destination() string { method revision (line 98) | func (c *Checkout) revision() string { method runCompatibleCheckout0 (line 105) | func (c *Checkout) runCompatibleCheckout0(r *zeta.Repository, worktree... method runCompatibleCheckout (line 136) | func (c *Checkout) runCompatibleCheckout(r *zeta.Repository) error { method Run (line 174) | func (c *Checkout) Run(g *Globals) error { constant coSummaryFormat (line 35) | coSummaryFormat = `%szeta checkout (co) [--branch|--tag] [--commit] [--s... FILE: pkg/command/command_cherry_pick.go type CherryPick (line 10) | type CherryPick struct method Run (line 16) | func (c *CherryPick) Run(g *Globals) error { FILE: pkg/command/command_clean.go type Clean (line 15) | type Clean struct method Run (line 22) | func (c *Clean) Run(g *Globals) error { FILE: pkg/command/command_commit.go type Commit (line 16) | type Commit struct method Run (line 25) | func (c *Commit) Run(g *Globals) error { FILE: pkg/command/command_config.go type Config (line 13) | type Config struct method Run (line 27) | func (c *Config) Run(g *Globals) error { FILE: pkg/command/command_diff.go type Diff (line 20) | type Diff struct method Summary (line 54) | func (c *Diff) Summary() string { method NewLine (line 59) | func (c *Diff) NewLine() byte { method Passthrough (line 66) | func (c *Diff) Passthrough(paths []string) { method checkAlgorithm (line 70) | func (c *Diff) checkAlgorithm() (diferenco.Algorithm, error) { method NewOptions (line 90) | func (c *Diff) NewOptions() (*zeta.DiffOptions, error) { method NewOutput (line 128) | func (c *Diff) NewOutput(ctx context.Context) (zeta.Printer, error) { method render (line 145) | func (c *Diff) render(u *diferenco.Patch) error { method nameStatus (line 175) | func (c *Diff) nameStatus() error { method diffNoIndex (line 189) | func (c *Diff) diffNoIndex() error { method Run (line 244) | func (c *Diff) Run(g *Globals) error { constant diffSummaryFormat (line 46) | diffSummaryFormat = `%s zeta diff [] [] [--] [...] FILE: pkg/command/command_fetch.go type Fetch (line 16) | type Fetch struct method Summary (line 28) | func (c *Fetch) Summary() string { method Run (line 32) | func (c *Fetch) Run(g *Globals) error { constant fetchSummaryFormat (line 25) | fetchSummaryFormat = `%szeta fetch [reference] [--unshallow] [--tag] [--... FILE: pkg/command/command_for_each_ref.go type ForEachRef (line 14) | type ForEachRef struct method Run (line 20) | func (c *ForEachRef) Run(g *Globals) error { FILE: pkg/command/command_gc.go type GC (line 14) | type GC struct method Run (line 19) | func (c *GC) Run(g *Globals) error { FILE: pkg/command/command_hash_object.go type HashObject (line 16) | type HashObject struct method Run (line 22) | func (c *HashObject) Run(g *Globals) error { method hashObject (line 68) | func (c *HashObject) hashObject() error { FILE: pkg/command/command_init.go type Init (line 17) | type Init struct method Run (line 23) | func (c *Init) Run(g *Globals) error { FILE: pkg/command/command_log.go type Log (line 26) | type Log struct method Summary (line 40) | func (c *Log) Summary() string { method Passthrough (line 44) | func (c *Log) Passthrough(paths []string) { method Run (line 48) | func (c *Log) Run(g *Globals) error { constant logSummaryFormat (line 37) | logSummaryFormat = `%szeta log [] [] [[--] ] [] FILE: pkg/command/command_merge_base.go type MergeBase (line 13) | type MergeBase struct method Summary (line 29) | func (c *MergeBase) Summary() string { method Run (line 34) | func (c *MergeBase) Run(g *Globals) error { constant mergeBaseSummaryFormat (line 25) | mergeBaseSummaryFormat = `%szeta merge-base [-a | --all] ] [-L [-L ... FILE: pkg/command/command_merge_tree.go type MergeTree (line 13) | type MergeTree struct method Run (line 24) | func (c *MergeTree) Run(g *Globals) error { FILE: pkg/command/command_pull.go type Pull (line 12) | type Pull struct method Run (line 22) | func (c *Pull) Run(g *Globals) error { FILE: pkg/command/command_push.go type Push (line 13) | type Push struct method Run (line 20) | func (c *Push) Run(g *Globals) error { FILE: pkg/command/command_rebase.go type Rebase (line 12) | type Rebase struct method Run (line 19) | func (c *Rebase) Run(g *Globals) error { FILE: pkg/command/command_remote.go type Remote (line 17) | type Remote struct type ShowRemote (line 22) | type ShowRemote struct method Run (line 26) | func (c *ShowRemote) Run(g *Globals) error { type SetRemote (line 48) | type SetRemote struct method Run (line 52) | func (c *SetRemote) Run(g *Globals) error { FILE: pkg/command/command_rename.go type Rename (line 14) | type Rename struct method Summary (line 26) | func (c *Rename) Summary() string { method Run (line 30) | func (c *Rename) Run(g *Globals) error { constant moveSummaryFormat (line 23) | moveSummaryFormat = `%szeta rename [] ` FILE: pkg/command/command_reset.go type Reset (line 17) | type Reset struct method Summary (line 40) | func (c *Reset) Summary() string { method ResetMode (line 44) | func (c *Reset) ResetMode() zeta.ResetMode { method Passthrough (line 57) | func (c *Reset) Passthrough(paths []string) { method validateFlags (line 61) | func (c *Reset) validateFlags() string { method resetAutoFetch (line 83) | func (c *Reset) resetAutoFetch(w *zeta.Worktree) error { method Run (line 95) | func (c *Reset) Run(g *Globals) error { constant resetSummaryFormat (line 36) | resetSummaryFormat = `%szeta reset [-q] [] -- ... FILE: pkg/command/command_restore.go type Restore (line 17) | type Restore struct method Help (line 24) | func (c *Restore) Help() string { method Run (line 30) | func (c *Restore) Run(g *Globals) error { FILE: pkg/command/command_rev_parse.go type RevParse (line 14) | type RevParse struct method Run (line 19) | func (c *RevParse) Run(g *Globals) error { FILE: pkg/command/command_revert.go type Revert (line 10) | type Revert struct method Run (line 16) | func (c *Revert) Run(g *Globals) error { FILE: pkg/command/command_rm.go type Remove (line 12) | type Remove struct method Run (line 21) | func (c *Remove) Run(g *Globals) error { FILE: pkg/command/command_show.go type Show (line 19) | type Show struct method Summary (line 36) | func (c *Show) Summary() string { method checkAlgorithm (line 40) | func (c *Show) checkAlgorithm() (diferenco.Algorithm, error) { method Run (line 60) | func (c *Show) Run(g *Globals) error { constant showSummaryFormat (line 33) | showSummaryFormat = `%szeta show [] ...` FILE: pkg/command/command_stash.go type Stash (line 14) | type Stash struct type StashPush (line 24) | type StashPush struct method Run (line 28) | func (c *StashPush) Run(g *Globals) error { type StashList (line 42) | type StashList struct method Run (line 45) | func (c *StashList) Run(g *Globals) error { type StashShow (line 59) | type StashShow struct method Run (line 64) | func (c *StashShow) Run(g *Globals) error { type StashClear (line 78) | type StashClear struct method Run (line 81) | func (c *StashClear) Run(g *Globals) error { type StashDrop (line 95) | type StashDrop struct method Run (line 99) | func (c *StashDrop) Run(g *Globals) error { type StashPop (line 114) | type StashPop struct method Run (line 119) | func (c *StashPop) Run(g *Globals) error { type StashApply (line 133) | type StashApply struct method Run (line 137) | func (c *StashApply) Run(g *Globals) error { FILE: pkg/command/command_status.go type Status (line 14) | type Status struct method NewLine (line 19) | func (s *Status) NewLine() byte { method Run (line 28) | func (s *Status) Run(g *Globals) error { FILE: pkg/command/command_switch.go type Switch (line 14) | type Switch struct method Summary (line 36) | func (s *Switch) Summary() string { method Discard (line 41) | func (s *Switch) Discard() bool { method Run (line 45) | func (s *Switch) Run(g *Globals) error { constant switchSummaryFormat (line 29) | switchSummaryFormat = `%szeta switch [] [--remote] FILE: pkg/command/command_tag.go type Tag (line 15) | type Tag struct method Summary (line 31) | func (t *Tag) Summary() string { method Run (line 36) | func (t *Tag) Run(g *Globals) error { constant tagSummaryFormat (line 26) | tagSummaryFormat = `%szeta tag [] [-a] [-f] [-m ]