Docs, docs, docs!
This commit is contained in:
parent
12a85ee804
commit
dcb67fba63
7 changed files with 38 additions and 2 deletions
|
|
@ -13,8 +13,10 @@ import (
|
|||
"srs.epita.fr/fic-server/settings"
|
||||
)
|
||||
|
||||
// oneDeepSync ensure there is no more than one running deep sync.
|
||||
var oneDeepSync sync.Mutex
|
||||
|
||||
// SyncDeep performs a recursive synchronisation: from themes to challenge items.
|
||||
func SyncDeep(i Importer) (errs map[string][]string) {
|
||||
oneDeepSync.Lock()
|
||||
defer oneDeepSync.Unlock()
|
||||
|
|
|
|||
Reference in a new issue