Documentation ¶
Index ¶
- func AddFileToHash(path string, w io.Writer) error
- func FileExists(path string) (bool, error)
- func FilesExist(parent string, paths ...string) (bool, error)
- func HashFile(path string) (string, error)
- func NamespaceOrDefault(name string) string
- func PartitionOrDefault(name string) string
- type Identifier
- type Identifier2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func NamespaceOrDefault ¶
func PartitionOrDefault ¶
Types ¶
type Identifier ¶
type Identifier struct { Name string `json:",omitempty"` Namespace string `json:",omitempty"` Partition string `json:",omitempty"` }
func NewIdentifier ¶
func NewIdentifier(name, namespace, partition string) Identifier
func (Identifier) ID ¶
func (id Identifier) ID() string
func (*Identifier) Normalize ¶
func (id *Identifier) Normalize()
func (Identifier) String ¶
func (id Identifier) String() string
type Identifier2 ¶
func NewIdentifier2 ¶
func NewIdentifier2(name, partition string) Identifier2
func (Identifier2) ID ¶
func (id Identifier2) ID() string
func (*Identifier2) Normalize ¶
func (id *Identifier2) Normalize()
func (Identifier2) String ¶
func (id Identifier2) String() string
Click to show internal directories.
Click to hide internal directories.