added some code for file copying
This commit is contained in:
@ -59,10 +59,11 @@ typedef enum qse_dir_errnum_t qse_dir_errnum_t;
|
||||
|
||||
enum qse_dir_flag_t
|
||||
{
|
||||
QSE_DIR_MBSPATH = (1 << 0),
|
||||
QSE_DIR_SORT = (1 << 1),
|
||||
QSE_DIR_LIMITED = (1 << 2) /**< limited to normal entries excluding . and .. */
|
||||
QSE_DIR_MBSPATH = (1 << 0),
|
||||
QSE_DIR_SORT = (1 << 1),
|
||||
QSE_DIR_SKIPSPCDIR = (1 << 2) /**< limited to normal entries excluding . and .. */
|
||||
};
|
||||
typedef enum qse_dir_flag_t qse_dir_flag_t;
|
||||
|
||||
struct qse_dir_ent_t
|
||||
{
|
||||
|
@ -198,13 +198,18 @@ typedef enum qse_fs_opt_t qse_fs_opt_t;
|
||||
|
||||
enum qse_fs_cpfile_flag_t
|
||||
{
|
||||
QSE_FS_CPFILE_PRESERVE = (1 << 0),
|
||||
QSE_FS_CPFILE_REPLACE = (1 << 1),
|
||||
QSE_FS_CPFILE_SYMLINK = (1 << 2),
|
||||
QSE_FS_CPFILE_NOTGTDIR = (1 << 3), /* no target directory */
|
||||
QSE_FS_CPFILE_GLOB = (1 << 0),
|
||||
QSE_FS_CPFILE_RECURSIVE = (1 << 1),
|
||||
QSE_FS_CPFILE_FORCE = (1 << 2),
|
||||
QSE_FS_CPFILE_PRESERVE = (1 << 3),
|
||||
QSE_FS_CPFILE_REPLACE = (1 << 4),
|
||||
QSE_FS_CPFILE_SYMLINK = (1 << 5),
|
||||
QSE_FS_CPFILE_NOTGTDIR = (1 << 6), /* no target directory */
|
||||
|
||||
QSE_FS_CPFILE_ALL = (QSE_FS_CPFILE_PRESERVE | QSE_FS_CPFILE_REPLACE |
|
||||
QSE_FS_CPFILE_SYMLINK | QSE_FS_CPFILE_NOTGTDIR)
|
||||
QSE_FS_CPFILE_ALL = (QSE_FS_CPFILE_GLOB | QSE_FS_CPFILE_RECURSIVE |
|
||||
QSE_FS_CPFILE_FORCE | QSE_FS_CPFILE_PRESERVE |
|
||||
QSE_FS_CPFILE_REPLACE | QSE_FS_CPFILE_SYMLINK |
|
||||
QSE_FS_CPFILE_NOTGTDIR)
|
||||
};
|
||||
typedef enum qse_fs_cpfile_flag_t qse_fs_cpfile_flag_t;
|
||||
|
||||
|
@ -58,7 +58,7 @@ enum qse_glob_flags_t
|
||||
|
||||
/** Exclude special entries from matching.
|
||||
* Special entries include . and .. */
|
||||
QSE_GLOB_LIMITED = (1 << 4)
|
||||
QSE_GLOB_SKIPSPCDIR = (1 << 4)
|
||||
};
|
||||
|
||||
#if defined(__cplusplus)
|
||||
|
Reference in New Issue
Block a user