Documentation ¶ Index ¶ type Store func (s *Store) ReadDir(path string) ([]fs.DirEntry, error) func (s *Store) ReadFile(path string) ([]byte, error) func (s *Store) Version() (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Store ¶ type Store struct { Dir string } func (*Store) ReadDir ¶ func (s *Store) ReadDir(path string) ([]fs.DirEntry, error) func (*Store) ReadFile ¶ func (s *Store) ReadFile(path string) ([]byte, error) func (*Store) Version ¶ func (s *Store) Version() (string, error) Version returns version of config files contained in Store.Dir. The directory is expected to be a git repository. Returned version uses a tag-like format: `v10.2.0` for tags, `v10.2.0-27-gf4262c857` for commits. Source Files ¶ View all Source files filesystem.go Click to show internal directories. Click to hide internal directories.