Documentation
¶
Index ¶
- type DepTree
- type Manager
- func (m *Manager) ApplyPlan(ctx context.Context, plan Refs) (Refs, error)
- func (m *Manager) Cleanup(maxAge time.Duration, keep Refs) (Refs, error)
- func (m *Manager) DepTree(ctx context.Context, ref Ref) *DepTree
- func (m *Manager) Install(ctx context.Context, refs Refs) (Refs, error)
- func (m *Manager) Plan(ctx context.Context, refs Refs) (Refs, error)
- func (m *Manager) Reinstall(ctx context.Context, refs Refs, withDeps bool) (Refs, error)
- func (m *Manager) TouchLastUsed(refs Refs)
- func (m *Manager) Uninstall(ctx context.Context, refs Refs, withDeps bool) (Refs, error)
- type ProgressTracker
- type Ref
- type Refs
- type Reporter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) TouchLastUsed ¶
TouchLastUsed bumps the last-used timestamp for every ref. Errors are swallowed: the timestamp is best-effort bookkeeping, and a missing install dir is silently no-op'd inside storage.TouchLastUsed.
type ProgressTracker ¶
type Ref ¶
func ParseStrict ¶
Click to show internal directories.
Click to hide internal directories.