Finish the delete feature.

This commit is contained in:
lishuang
2020-06-21 00:04:11 +08:00
parent 601c60fca7
commit 3fb1d874d5
14 changed files with 212 additions and 4 deletions

View File

@ -73,6 +73,14 @@ func NewRootMatter(user *User) *Matter {
return matter
}
//get user's space absolute path
func GetUserSpaceRootDir(username string) (rootDirPath string) {
rootDirPath = fmt.Sprintf("%s/%s", core.CONFIG.MatterPath(), username)
return rootDirPath
}
//get user's root absolute path
func GetUserMatterRootDir(username string) (rootDirPath string) {