refactor s3 provider
This commit is contained in:
@ -34,8 +34,6 @@ static const option data_directory_option = {"-dd", "--data_directory"};
|
||||
static const option encrypt_option = {"-en", "--encrypt"};
|
||||
static const option drive_information_option = {"-di", "--drive_information"};
|
||||
#if defined(REPERTORY_ENABLE_S3)
|
||||
static const option create_directory_option = {"-cd", "--create_directory"};
|
||||
static const option list_objects_option = {"-lo", "--list_objects"};
|
||||
static const option name_option = {"-na", "--name"};
|
||||
static const option s3_option = {"-s3", "--s3"};
|
||||
#endif // defined(REPERTORY_ENABLE_S3)
|
||||
@ -67,8 +65,6 @@ static const std::vector<option> option_list = {
|
||||
#if defined(REPERTORY_ENABLE_S3)
|
||||
s3_option,
|
||||
name_option,
|
||||
create_directory_option,
|
||||
list_objects_option,
|
||||
#endif // defined(REPERTORY_ENABLE_S3)
|
||||
generate_config_option,
|
||||
get_option,
|
||||
|
Reference in New Issue
Block a user