RepositoryLocalPath returns the absolute path of the repository local copy with the given ID.
(repoID int64)
| 64 | // RepositoryLocalPath returns the absolute path of the repository local copy |
| 65 | // with the given ID. |
| 66 | func RepositoryLocalPath(repoID int64) string { |
| 67 | return filepath.Join(conf.Server.AppDataPath, "tmp", "local-repo", strconv.FormatInt(repoID, 10)) |
| 68 | } |
| 69 | |
| 70 | // RepositoryLocalWikiPath returns the absolute path of the repository local |
| 71 | // wiki copy with the given ID. |
no outgoing calls