Versions in this module Expand all Collapse all v0 v0.20.2 Apr 5, 2024 Changes in this version + func Init(cmd *cobra.Command) + type File struct + ETag string + Hash []byte + LastModified string + Path string + Schema string + URL string + VersionLocal string + VersionRemote string + func (f *File) Fetch() ([]byte, error) + func (f *File) GetData() ([]byte, error) + func (f *File) IsChangedLocal(ignoreDeleted bool) bool + func (f *File) IsChangedRemote() bool + func (f *File) Reset() error + func (f *File) Write(b []byte) error + func (f *File) WriteCached(b []byte) error + type Meta struct + Base string + Files map[string]*File + Filter string + Schema string + URL string + URLTemplate string + func (m *Meta) GetChanged(files []string) ([]changedFile, []changedFile, error) + func (m *Meta) Init(url, template string) error + func (m *Meta) Pull() error + func (m *Meta) PullIndex() error + func (m *Meta) Push() error + func (m *Meta) Save() error