Versions in this module Expand all Collapse all v3 v3.46.0 Jun 16, 2025 Changes in this version + func GetNextDir(wholePath string, basePath string) string + func IsAncestorDir(parentDir string, targetDir string) bool + type Addition struct + GitHubProxy string + RepoStructure string + ShowAllVersion bool + ShowReadme bool + Token string + type Asset struct + BrowserDownloadUrl string + ContentType string + CreatedAt string + DownloadCount int + Id int + Label string + Name string + NodeId string + Size int64 + State string + UpdatedAt string + Uploader User + Url string + type File struct + CreateAt string + FileName string + Path string + Size int64 + Type string + UpdateAt string + Url string + func (f File) CreateTime() time.Time + func (f File) GetHash() utils.HashInfo + func (f File) GetID() string + func (f File) GetName() string + func (f File) GetPath() string + func (f File) GetSize() int64 + func (f File) IsDir() bool + func (f File) ModTime() time.Time + type FileInfo struct + DownloadUrl string + GitUrl string + HtmlUrl string + Name string + Path string + Sha string + Size int64 + Type string + Url string + type GithubReleases struct + func (d *GithubReleases) Config() driver.Config + func (d *GithubReleases) Copy(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error) + func (d *GithubReleases) Drop(ctx context.Context) error + func (d *GithubReleases) GetAddition() driver.Additional + func (d *GithubReleases) GetRequest(url string) (*resty.Response, error) + func (d *GithubReleases) Init(ctx context.Context) error + func (d *GithubReleases) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error) + func (d *GithubReleases) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error) + func (d *GithubReleases) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) (model.Obj, error) + func (d *GithubReleases) Move(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error) + func (d *GithubReleases) ParseRepos(text string) ([]MountPoint, error) + func (d *GithubReleases) Remove(ctx context.Context, obj model.Obj) error + func (d *GithubReleases) Rename(ctx context.Context, srcObj model.Obj, newName string) (model.Obj, error) + type MountPoint struct + OtherFile *[]FileInfo + Point string + Release *Release + Releases *[]Release + Repo string + func (m *MountPoint) GetAllVersion() []File + func (m *MountPoint) GetAllVersionSize() int64 + func (m *MountPoint) GetLatestRelease() []File + func (m *MountPoint) GetLatestSize() int64 + func (m *MountPoint) GetOtherFile(get func(url string) (*resty.Response, error), refresh bool) []File + func (m *MountPoint) GetReleaseByTagName(tagName string) []File + func (m *MountPoint) GetSizeByTagName(tagName string) int64 + func (m *MountPoint) RequestRelease(get func(url string) (*resty.Response, error), refresh bool) + func (m *MountPoint) RequestReleases(get func(url string) (*resty.Response, error), refresh bool) + type Reactions struct + Confused int + Eyes int + Heart int + Hooray int + Laugh int + MinusOne int + PlusOne int + Rocket int + TotalCount int + Url string + type Release struct + Assets []Asset + AssetsUrl string + Author User + Body string + CreatedAt string + Draft bool + HtmlUrl string + Id int + Name string + NodeId string + Prerelease bool + PublishedAt string + Reactions Reactions + TagName string + TarballUrl string + TargetCommitish string + UploadUrl string + Url string + ZipballUrl string + type User struct + AvatarUrl string + EventsUrl string + FollowersUrl string + FollowingUrl string + GistsUrl string + GravatarId string + HtmlUrl string + Id int + Login string + NodeId string + OrganizationsUrl string + ReceivedEventsUrl string + ReposUrl string + SiteAdmin bool + StarredUrl string + SubscriptionsUrl string + Type string + Url string + UserViewType string