mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-25 14:42:52 +00:00
Check repo space when copy or move files.
This commit is contained in:
@@ -3,6 +3,12 @@
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#define COPY_ERR_INTERNAL "Internal error when copy or move"
|
||||
#define COPY_ERR_BAD_ARG "Invalid arguments"
|
||||
#define COPY_ERR_TOO_MANY_FILES "Too many files"
|
||||
#define COPY_ERR_SIZE_TOO_LARGE "Folder or file size is too large"
|
||||
#define COPY_ERR_QUOTA_IS_FULL "Quota is full"
|
||||
|
||||
struct _SeafileSession;
|
||||
struct _SeafCopyManagerPriv;
|
||||
struct _SeafileCopyTask;
|
||||
@@ -23,6 +29,7 @@ struct CopyTask {
|
||||
gint64 total;
|
||||
gint canceled;
|
||||
gboolean failed;
|
||||
char *failed_reason;
|
||||
gboolean successful;
|
||||
};
|
||||
typedef struct CopyTask CopyTask;
|
||||
|
Reference in New Issue
Block a user