mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-21 23:20:24 +00:00
daac90c4e1
hooks doing something like this: err = provider.updateUser(u) ... return provider.userExists(username) could be racy if another update happen before provider.userExists(username) also pass a pointer to updateUser so if the user is modified inside "validateUser" we can just return the modified user without do a new query |
||
---|---|---|
.. | ||
gen.go | ||
gencompletion.go | ||
genman.go | ||
initprovider.go | ||
install_windows.go | ||
portable.go | ||
portable_disabled.go | ||
reload_windows.go | ||
revertprovider.go | ||
root.go | ||
rotatelogs_windows.go | ||
serve.go | ||
service_windows.go | ||
start_windows.go | ||
startsubsys.go | ||
status_windows.go | ||
stop_windows.go | ||
uninstall_windows.go |