Versions in this module Expand all Collapse all v0 v0.2.2 Jan 15, 2025 Changes in this version + type FList struct + Hash string + Name string + Target string + Type FListType + Updated uint64 + type FListFilter interface + func MatchName(name string) FListFilter + func MatchType(typ FListType) FListFilter + type FListType string + const TypeRegular + const TypeSymlink + const TypeTag + const TypeTagLink + type FileInfo struct + Path string + Size uint64 + type HubClient struct + func NewHubClient(timeout time.Duration) *HubClient + func (h *HubClient) Download(cache, repo, name string) (string, error) + func (h *HubClient) Find(repo string, filter ...FListFilter) ([]FList, error) + func (h *HubClient) Info(repo, name string) (info FList, err error) + func (h *HubClient) List(repo string) ([]FList, error) + func (h *HubClient) ListTag(repo, tag string) ([]Symlink, error) + func (h *HubClient) MountURL(flist string) string + func (h *HubClient) StorageURL() string + type Regular struct + func NewRegular(flist FList) Regular + func (b *Regular) Files(repo string) ([]FileInfo, error) + type Symlink struct + func NewSymlink(flist FList) Symlink + func (t *Symlink) Destination(source string) (repo string, name string, err error) + type TagLink struct + func NewTagLink(flist FList) TagLink + func (t *TagLink) Destination() (repo string, tag string, err error)