Documentation
¶
Index ¶
- type Store
- func (s *Store) Get(key string) ([]byte, error)
- func (s *Store) GetString(key string) (string, error)
- func (s *Store) HasFileChanged(path string) (bool, error)
- func (s *Store) RecordFileChange(path string) error
- func (s *Store) Set(key string, value []byte) error
- func (s *Store) SetString(key string, value string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is the place to record information or keep files about a project
func (*Store) HasFileChanged ¶
HasFileChanged detects whether a path has changed since the last call to RecordFileChange(). Defaults to true if path doesn't exists or RecordFileChange() was never called.
func (*Store) RecordFileChange ¶
RecordFileChange stores the modification time of a file.
Click to show internal directories.
Click to hide internal directories.