mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-09 11:18:54 +00:00
get nickname from seahub database (#663)
* Add parse seahub database config * Get nickname from seahub database * Go get nickname from seahub database * Save output of script to memory and fix some errors * Add exec permission and free child_output --------- Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
@@ -30,24 +30,27 @@ var mergeTestTree4CommitID string
|
||||
var mergeTestTree5CommitID string
|
||||
|
||||
/*
|
||||
test directory structure:
|
||||
tree1
|
||||
|--bbb
|
||||
|-- testfile(size:1)
|
||||
test directory structure:
|
||||
tree1
|
||||
|--bbb
|
||||
|
||||
tree2
|
||||
|--bbb
|
||||
|-- testfile(size:10)
|
||||
|-- testfile(size:1)
|
||||
|
||||
tree3
|
||||
|--bbb
|
||||
tree2
|
||||
|--bbb
|
||||
|
||||
tree4
|
||||
|--bbb
|
||||
|-- testfile(size:100)
|
||||
|-- testfile(size:10)
|
||||
|
||||
tree5
|
||||
|--
|
||||
tree3
|
||||
|--bbb
|
||||
|
||||
tree4
|
||||
|--bbb
|
||||
|
||||
|-- testfile(size:100)
|
||||
|
||||
tree5
|
||||
|--
|
||||
*/
|
||||
func mergeTestCreateTestDir() error {
|
||||
modeDir := uint32(syscall.S_IFDIR | 0644)
|
||||
|
Reference in New Issue
Block a user