mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
🎨 Clean code
This commit is contained in:
parent
116d8f3e7d
commit
ee9d035d0e
1 changed files with 0 additions and 2 deletions
|
|
@ -230,8 +230,6 @@ type FileInfo struct {
|
||||||
isdir bool
|
isdir bool
|
||||||
}
|
}
|
||||||
|
|
||||||
var listDocTreeLock = sync.Map{}
|
|
||||||
|
|
||||||
func ListDocTree(boxID, listPath string, sortMode int, flashcard, showHidden bool, maxListCount int) (ret []*File, totals int, err error) {
|
func ListDocTree(boxID, listPath string, sortMode int, flashcard, showHidden bool, maxListCount int) (ret []*File, totals int, err error) {
|
||||||
//os.MkdirAll("pprof", 0755)
|
//os.MkdirAll("pprof", 0755)
|
||||||
//cpuProfile, _ := os.Create("pprof/cpu_profile_list_doc_tree")
|
//cpuProfile, _ := os.Create("pprof/cpu_profile_list_doc_tree")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue