Documentation
¶
Index ¶
- Variables
- func CreateRepo(path string) (*git.Repository, error)
- func GetReadme(ownerName, repoName string) (string, error)
- func GetRepoDir(ownername, reponame, path string) ([]map[string]interface{}, error)
- func GetRepoFile(ownerName, repoName, entryPath string) (string, error)
- func RenameRepo(oldName, newName, owner string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Gitserver = server.DefaultServer // where all the repos will be stored
)
Functions ¶
func GetRepoDir ¶
Get the files and directories present at given path, pass "" when expecting something locates at the root directory.
func GetRepoFile ¶
func RenameRepo ¶
rename the folder of a certain repo by given path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.