Documentation
¶
Index ¶
- func ResolveRoot(positional, flagged string) (string, error)
- func ValidateSegment(segment string) error
- type Owner
- func (o *Owner) AcceptedSpec(capability string) (string, error)
- func (o *Owner) Archive() string
- func (o *Owner) Change(name string) (string, error)
- func (o *Owner) ChangeDesign(name string) (string, error)
- func (o *Owner) ChangeLock(name string) (string, error)
- func (o *Owner) ChangeProposal(name string) (string, error)
- func (o *Owner) ChangeSpec(change, capability string) (string, error)
- func (o *Owner) ChangeSpecs(name string) (string, error)
- func (o *Owner) ChangeState(name string) (string, error)
- func (o *Owner) ChangeTasks(name string) (string, error)
- func (o *Owner) Changes() string
- func (o *Owner) CheckWriteTarget(target string) error
- func (o *Owner) EnsureUniqueChange(name string) error
- func (o *Owner) Evidence() string
- func (o *Owner) History() string
- func (o *Owner) Managed() string
- func (o *Owner) Root() string
- func (o *Owner) RootLock() string
- func (o *Owner) Specs() string
- func (o *Owner) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveRoot ¶
func ValidateSegment ¶
Types ¶
type Owner ¶
type Owner struct {
// contains filtered or unexported fields
}
func (*Owner) ChangeLock ¶
ChangeLock refuses before any caller can create a lock file, so locking an absent change never materializes its directory inside the managed tree.
func (*Owner) CheckWriteTarget ¶
CheckWriteTarget refuses escapes and every symlink in the existing prefix.
func (*Owner) EnsureUniqueChange ¶
Click to show internal directories.
Click to hide internal directories.