Skip to content

Commit

Permalink
Use change set to batch del files
Browse files Browse the repository at this point in the history
  • Loading branch information
杨赫然 committed Sep 11, 2024
1 parent ee80867 commit 482c075
Show file tree
Hide file tree
Showing 5 changed files with 463 additions and 32 deletions.
2 changes: 1 addition & 1 deletion fileserver/fsmgr/fsmgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -934,5 +934,5 @@ func GetDirentByPath(repoID, rootID, rpath string) (*SeafDirent, error) {
}
}

return nil, fmt.Errorf("failed to get dirent %s", rpath)
return nil, ErrPathNoExist
}
4 changes: 3 additions & 1 deletion server/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ noinst_HEADERS = web-accesstoken-mgr.h seafile-session.h \
../common/org-mgr.h \
index-blocks-mgr.h \
http-tx-mgr.h \
notif-mgr.h
notif-mgr.h \
change-set.h

seaf_server_SOURCES = \
seaf-server.c \
Expand All @@ -58,6 +59,7 @@ seaf_server_SOURCES = \
fileserver-config.c \
http-tx-mgr.c \
notif-mgr.c \
change-set.c \
../common/seaf-db.c \
../common/branch-mgr.c ../common/fs-mgr.c \
../common/config-mgr.c \
Expand Down
Loading

0 comments on commit 482c075

Please sign in to comment.