lib

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanupXgoTempDirs

func CleanupXgoTempDirs() (removed int, freedBytes int64)

func Fatalf

func Fatalf(format string, args ...interface{})

func FindRepoRoot

func FindRepoRoot() string

func FormatSize

func FormatSize(bytes int64) string

func GitGorootDirs

func GitGorootDirs() []string

func Logf

func Logf(format string, args ...interface{})

func TmpDir

func TmpDir() string

Types

type DirEntry

type DirEntry struct {
	Name string
	Size int64
}

func ListXgoTempDirs

func ListXgoTempDirs() []DirEntry

func ListXgoTempDirsFast

func ListXgoTempDirsFast() []DirEntry

type GitGorootStatus

type GitGorootStatus struct {
	Dir     string
	Removed int
	Err     error
}

func CleanGitGoroots

func CleanGitGoroots() []GitGorootStatus

type PatternStat

type PatternStat struct {
	Pattern string
	Count   int
	Size    int64
}

func StatsByPattern

func StatsByPattern() []PatternStat

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL