fix
This commit is contained in:
@@ -401,7 +401,7 @@ auto remote_fuse_drive::readdir_impl(std::string api_path, void *buf,
|
|||||||
std::memset(p_stat.get(), 0, sizeof(struct stat));
|
std::memset(p_stat.get(), 0, sizeof(struct stat));
|
||||||
if (item_path == ".") {
|
if (item_path == ".") {
|
||||||
#if FUSE_USE_VERSION >= 30
|
#if FUSE_USE_VERSION >= 30
|
||||||
stat_res = getattr_impl(api_path, p_stat.get());
|
stat_res = getattr_impl(api_path, p_stat.get(), f_info);
|
||||||
#else // FUSE_USE_VERSION < 30
|
#else // FUSE_USE_VERSION < 30
|
||||||
stat_res = getattr_impl(api_path, p_stat.get());
|
stat_res = getattr_impl(api_path, p_stat.get());
|
||||||
#endif // FUSE_USE_VERSION >= 30
|
#endif // FUSE_USE_VERSION >= 30
|
||||||
|
@@ -567,8 +567,6 @@ void base_provider::process_removed_files(std::deque<removed_item> removed_list,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void base_provider::process_removed_items(stop_type &stop_requested) {
|
void base_provider::process_removed_items(stop_type &stop_requested) {
|
||||||
REPERTORY_USES_FUNCTION_NAME();
|
|
||||||
|
|
||||||
const auto get_stop_requested = [&stop_requested]() -> bool {
|
const auto get_stop_requested = [&stop_requested]() -> bool {
|
||||||
return stop_requested || app_config::get_stop_requested();
|
return stop_requested || app_config::get_stop_requested();
|
||||||
};
|
};
|
||||||
@@ -633,8 +631,6 @@ void base_provider::process_removed_items(stop_type &stop_requested) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void base_provider::remove_deleted_items(stop_type &stop_requested) {
|
void base_provider::remove_deleted_items(stop_type &stop_requested) {
|
||||||
REPERTORY_USES_FUNCTION_NAME();
|
|
||||||
|
|
||||||
const auto get_stop_requested = [&stop_requested]() -> bool {
|
const auto get_stop_requested = [&stop_requested]() -> bool {
|
||||||
return stop_requested || app_config::get_stop_requested();
|
return stop_requested || app_config::get_stop_requested();
|
||||||
};
|
};
|
||||||
|
@@ -379,8 +379,6 @@ void handlers::generate_config(provider_type prov, std::string_view name,
|
|||||||
|
|
||||||
void handlers::handle_put_mount_location(const httplib::Request &req,
|
void handlers::handle_put_mount_location(const httplib::Request &req,
|
||||||
httplib::Response &res) const {
|
httplib::Response &res) const {
|
||||||
REPERTORY_USES_FUNCTION_NAME();
|
|
||||||
|
|
||||||
auto prov = provider_type_from_string(req.get_param_value("type"));
|
auto prov = provider_type_from_string(req.get_param_value("type"));
|
||||||
auto name = req.get_param_value("name");
|
auto name = req.get_param_value("name");
|
||||||
auto location = req.get_param_value("location");
|
auto location = req.get_param_value("location");
|
||||||
|
Reference in New Issue
Block a user