MCPcopy Index your code
hub / github.com/TruthHun/BookStack / DelFromFolder

Method DelFromFolder

models/store/local.go:59–61  ·  view source on GitHub ↗

删除文件夹

(folder string)

Source from the content-addressed store, hash-verified

57
58//删除文件夹
59func (this *Local) DelFromFolder(folder string) (err error) {
60 return os.RemoveAll(folder)
61}
62
63func (this *Local) CopyFile(sourceFile, targetFile string) (err error) {
64

Callers 2

DeleteFileFunction · 0.80
ThoroughDeleteBookMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected