mirror of
				https://github.com/osmarks/mycorrhiza.git
				synced 2025-11-04 01:23:02 +00:00 
			
		
		
		
	Implement the rocket link migration algorithm
This commit is contained in:
		@@ -38,6 +38,9 @@ func TokensJSON() string { return paths.tokensJSON }
 | 
			
		||||
// UserCredentialsJSON returns the path to the JSON user credentials storage.
 | 
			
		||||
func UserCredentialsJSON() string { return paths.userCredentialsJSON }
 | 
			
		||||
 | 
			
		||||
// FileInRoot returns full path for the given filename if it was placed in the root of the wiki structure.
 | 
			
		||||
func FileInRoot(filename string) string { return filepath.Join(cfg.WikiDir, filename) }
 | 
			
		||||
 | 
			
		||||
// PrepareWikiRoot ensures all needed directories and files exist and have
 | 
			
		||||
// correct permissions.
 | 
			
		||||
func PrepareWikiRoot() error {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user