Documentation
¶
Index ¶
- Variables
- func AddAll(gistTmpId string) error
- func CloneTmp(user string, gist string, gistTmpId string, email string) error
- func CommitRepository(gistTmpId string, authorName string, authorEmail string) error
- func CountCommits(user string, gist string) (string, error)
- func DeleteRepository(user string, gist string) error
- func ForkClone(userSrc string, gistSrc string, userDst string, gistDst string) error
- func GcRepos() error
- func GetFileContent(user string, gist string, revision string, filename string, truncate bool) (string, bool, error)
- func GetFilesOfRepository(user string, gist string, revision string) ([]string, error)
- func GetGitVersion() (string, error)
- func HasNoCommits(user string, gist string) (bool, error)
- func InitRepository(user string, gist string) error
- func InitRepositoryViaInit(user string, gist string, ctx echo.Context) error
- func Push(gistTmpId string) error
- func RPC(user string, gist string, service string) ([]byte, error)
- func RepositoryPath(user string, gist string) string
- func RepositoryUrl(ctx echo.Context, user string, gist string) string
- func SetFileContent(gistTmpId string, filename string, content string) error
- func TmpRepositoriesPath() string
- func TmpRepositoryPath(gistId string) string
- func UpdateServerInfo(user string, gist string) error
- type Commit
- type CsvFile
- type File
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ReposDirectory = "repos"
)
Functions ¶
func CommitRepository ¶
func DeleteRepository ¶
func GetFileContent ¶
func GetFilesOfRepository ¶
func GetGitVersion ¶
func InitRepository ¶
func InitRepositoryViaInit ¶ added in v1.5.0
func RepositoryPath ¶
func RepositoryUrl ¶ added in v1.5.0
func TmpRepositoriesPath ¶
func TmpRepositoriesPath() string
func TmpRepositoryPath ¶
func UpdateServerInfo ¶
Types ¶
type Commit ¶
Click to show internal directories.
Click to hide internal directories.