mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-07 05:55:51 +01:00
Implemented: Downloading tagged contents as zip file.
This commit is contained in:
@@ -44,7 +44,7 @@ object WikiUtil {
|
||||
* Returns the directory of the wiki working directory which is cloned from the wiki repository.
|
||||
*/
|
||||
def getWikiWorkDir(owner: String, repository: String): File =
|
||||
new File("%s/tmp/%s/%s.wiki".format(Directory.RepositoryHome, owner, repository))
|
||||
new File("%s/tmp/%s/%s.wiki".format(Directory.GitBucketHome, owner, repository))
|
||||
|
||||
// TODO synchronized?
|
||||
def createWikiRepository(owner: String, repository: String): Unit = {
|
||||
@@ -81,9 +81,6 @@ object WikiUtil {
|
||||
.sortBy(x => x)
|
||||
}
|
||||
|
||||
// TODO
|
||||
//def getPageHistory(owner: String, repository: String, pageName: String): List[WikiPageHistoryInfo]
|
||||
|
||||
// TODO synchronized
|
||||
/**
|
||||
* Save the wiki page.
|
||||
|
||||
Reference in New Issue
Block a user