Documentation ¶
Index ¶
- type DB
- type Item
- func (i *Item) AutoTag() error
- func (i *Item) FullPathMatches(glob string) bool
- func (i *Item) HasTag(tag Tag) bool
- func (i *Item) HasTagWithName(name string) bool
- func (i *Item) HasTagWithValue(value string) bool
- func (i *Item) Tag(tags ...Tag)
- func (i *Item) Untag(tags ...Tag)
- func (i *Item) UntagAuto()
- type Items
- func (is Items) AutoTag() error
- func (is Items) FilterByMatchingGlob(glob string) Items
- func (is Items) FilterByNotMatchingGlob(glob string) Items
- func (is Items) FilterByTagWithName(name string) Items
- func (is Items) FilterByTagWithValue(value string) Items
- func (is Items) FilterByTags(tags ...Tag) Items
- func (is Items) Tag(tags ...Tag)
- func (is Items) Untag(tags ...Tag)
- func (is Items) UntagAuto()
- type Tag
- type Tags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func NewDefaultDB ¶
func NewDefaultDB() DB
func NewOrDefaultDB ¶
type Item ¶
func NewItemFromFile ¶
func (*Item) FullPathMatches ¶
func (*Item) HasTagWithName ¶
func (*Item) HasTagWithValue ¶
type Items ¶
func NewItemsFromGlob ¶
func (Items) FilterByMatchingGlob ¶
func (Items) FilterByNotMatchingGlob ¶
func (Items) FilterByTagWithName ¶
func (Items) FilterByTagWithValue ¶
func (Items) FilterByTags ¶
type Tags ¶
type Tags []Tag
func NewTagsFromFile ¶
func (Tags) ContainsWithName ¶
func (Tags) ContainsWithValue ¶
Click to show internal directories.
Click to hide internal directories.