mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-03 16:34:33 +00:00
Fix security issue and add go linter (#677)
* Fix security issue and add go linter * Fix error checked by golangci-lint * Delete jwt-go pkg --------- Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
@@ -188,7 +188,7 @@ func diffDirectories(baseDir string, dents []*fsmgr.SeafDirent, opt *DiffOptions
|
||||
func direntSame(dentA, dentB *fsmgr.SeafDirent) bool {
|
||||
return dentA.ID == dentB.ID &&
|
||||
dentA.Mode == dentB.Mode &&
|
||||
dentA.Mtime == dentA.Mtime
|
||||
dentA.Mtime == dentB.Mtime
|
||||
}
|
||||
|
||||
// Diff type and diff status.
|
||||
|
Reference in New Issue
Block a user