Documentation
¶
Index ¶
- Constants
- func MarkerPath(skillDir string) string
- func WriteMarker(skillDir, hash, generatedBy string, now time.Time) error
- type ContentMarker
- type Resolver
- type Store
- func (s Store) KitPath(name string) string
- func (s Store) KitsDir() string
- func (s Store) LoadKits() (map[string]*kit.Kit, error)
- func (s Store) LoadProjectLockfile() (*lockfile.ProjectLockfile, error)
- func (s Store) LockfilePath() string
- func (s Store) SkillDir(name string) string
- func (s Store) SkillsDir() string
- func (s Store) VendoredSkills() ([]string, error)
- func (s Store) WriteProjectLockfile(lf *lockfile.ProjectLockfile) error
Constants ¶
View Source
const AIDir = ".ai"
Variables ¶
This section is empty.
Functions ¶
func MarkerPath ¶
Types ¶
type ContentMarker ¶
func ReadMarker ¶
func ReadMarker(skillDir string) (ContentMarker, error)
func VerifyMarker ¶
func VerifyMarker(skillDir string) (ContentMarker, string, error)
type Resolver ¶
func NewResolver ¶
type Store ¶
type Store struct {
Root string
}
func (Store) LoadProjectLockfile ¶
func (s Store) LoadProjectLockfile() (*lockfile.ProjectLockfile, error)
func (Store) LockfilePath ¶
func (Store) VendoredSkills ¶
func (Store) WriteProjectLockfile ¶
func (s Store) WriteProjectLockfile(lf *lockfile.ProjectLockfile) error
Click to show internal directories.
Click to hide internal directories.