// AccessUnlock releases the access to config files. // func AccessUnlock(log cdtype.Logger) { log.Debug("files.Access", "Unlock") access.Unlock() }
// AccessLock locks and prevents concurrent access to config files. // Could be improved, but it may be safer to use for now. // func AccessLock(log cdtype.Logger) { log.Debug("files.Access", "Lock") access.Lock() }