Documentation ¶
Index ¶
- Variables
- func ConcurrentMap[I, O any](input []I, ...) ([]O, [][]func() error, []error)
- func CopyFile(src, dst string, uid int, gid int) (int64, error)
- func GetBlockDevicePadding(resourceSize int64) int64
- func IsClosedErr(err error) bool
- func ReadLineNoBuffer(conn io.Reader) (string, error)
- func WriteFile(content []byte, output string, uid int, gid int) (int, error)
- type LoopMount
- type ProgressBar
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCouldNotGetDeviceStat = errors.New("could not get device stat")
)
Functions ¶
func ConcurrentMap ¶
func GetBlockDevicePadding ¶
func IsClosedErr ¶
Types ¶
type LoopMount ¶
type LoopMount struct {
// contains filtered or unexported fields
}
func NewLoopMount ¶
type ProgressBar ¶
type ProgressBar struct {
// contains filtered or unexported fields
}
func NewProgressBar ¶
func NewProgressBar( progress *mpb.Progress, label string, ) *ProgressBar
func (*ProgressBar) Clear ¶
func (p *ProgressBar) Clear()
func (*ProgressBar) IncreaseTotal ¶
func (p *ProgressBar) IncreaseTotal(delta int64)
func (*ProgressBar) Pause ¶
func (p *ProgressBar) Pause() func()
func (*ProgressBar) SetRemaining ¶
func (p *ProgressBar) SetRemaining(remaining int64)
func (*ProgressBar) SetTotal ¶
func (p *ProgressBar) SetTotal(total int64)
Click to show internal directories.
Click to hide internal directories.