Documentation
¶
Overview ¶
Package libraryv1 persists the current local color and Sequence library.
Index ¶
- Constants
- Variables
- type Color
- type Pattern
- type Store
- func (s *Store) GetPattern(id string) (Pattern, error)
- func (s *Store) ListColors() ([]Color, error)
- func (s *Store) ListPatterns() ([]Pattern, error)
- func (s *Store) ResolveColor(name string) (string, error)
- func (s *Store) SaveColor(name, color string) (Color, error)
- func (s *Store) SavePattern(input Pattern) (Pattern, error)
Constants ¶
View Source
const ( MaxRecordBytes = 1 << 20 MaxColors = 256 MaxPatterns = 128 MaxTitleRunes = 256 )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func New ¶
New remembers the directory without creating it. Relative paths are resolved now so a later working-directory change cannot redirect this Store.
func (*Store) ListColors ¶
func (*Store) ListPatterns ¶
Click to show internal directories.
Click to hide internal directories.