Documentation ¶
Index ¶
- Variables
- func Deduplicate(s string) string
- func GetFileSize(file *os.File) uint64
- func GetImageBase(file *pe.File) uint64
- func GetUrlFromListen(listen string) string
- func InitLogger(level slog.Level)
- func NewPb(max int64, desc string, disable bool) *progressbar.ProgressBar
- func PrefixToPath(s string) (string, error)
- func UglyGuess(s string) string
- func WaitSignal()
- type SyncOutput
- type ValueOnce
Constants ¶
This section is empty.
Variables ¶
View Source
var Stdout = &SyncOutput{ Mutex: sync.Mutex{}, output: os.Stderr, }
Functions ¶
func Deduplicate ¶
func GetFileSize ¶
func GetImageBase ¶
func GetUrlFromListen ¶
func InitLogger ¶
func PrefixToPath ¶
PrefixToPath is the inverse of PathToPrefix, replacing escape sequences with the original character. from src/cmd/internal/objabi/path.go
func UglyGuess ¶
UglyGuess an ugly hack for a known issue about golang compiler sees https://github.com/golang/go/issues/66313
Types ¶
type SyncOutput ¶
func (*SyncOutput) SetOutput ¶
func (s *SyncOutput) SetOutput(output io.Writer)
Click to show internal directories.
Click to hide internal directories.