updated build system
This commit is contained in:
parent
3567941139
commit
4a2acf99a7
@ -1409,7 +1409,7 @@ private:
|
|||||||
const auto lookup_method_name =
|
const auto lookup_method_name =
|
||||||
((idx == std::string::npos) ? "::" + method : method.substr(idx - 1));
|
((idx == std::string::npos) ? "::" + method : method.substr(idx - 1));
|
||||||
if (handler_lookup_.find(lookup_method_name) == handler_lookup_.end()) {
|
if (handler_lookup_.find(lookup_method_name) == handler_lookup_.end()) {
|
||||||
message_complete(STATUS_NOT_IMPLEMENTED);
|
message_complete(static_cast<packet::error_type>(STATUS_NOT_IMPLEMENTED));
|
||||||
} else {
|
} else {
|
||||||
client_pool_.execute(
|
client_pool_.execute(
|
||||||
client_id, thread_id,
|
client_id, thread_id,
|
||||||
|
@ -1068,14 +1068,14 @@ auto remote_server::winfsp_can_delete(PVOID file_desc,
|
|||||||
reinterpret_cast<remote::file_handle>(file_desc)),
|
reinterpret_cast<remote::file_handle>(file_desc)),
|
||||||
STATUS_INVALID_HANDLE));
|
STATUS_INVALID_HANDLE));
|
||||||
if (ret == STATUS_SUCCESS) {
|
if (ret == STATUS_SUCCESS) {
|
||||||
ret =
|
ret = static_cast<packet::error_type>(
|
||||||
utils::file::is_directory(file_path)
|
utils::file::is_directory(file_path)
|
||||||
? (drive_.get_directory_item_count(
|
? drive_.get_directory_item_count(
|
||||||
utils::path::create_api_path(relative_path))
|
utils::path::create_api_path(relative_path))
|
||||||
? static_cast<packet::error_type>(STATUS_DIRECTORY_NOT_EMPTY)
|
? STATUS_DIRECTORY_NOT_EMPTY
|
||||||
: STATUS_SUCCESS)
|
: STATUS_SUCCESS
|
||||||
: (drive_.is_processing(utils::path::create_api_path(relative_path))
|
: drive_.is_processing(utils::path::create_api_path(relative_path))
|
||||||
? static_cast<packet::error_type>(STATUS_DEVICE_BUSY)
|
? STATUS_DEVICE_BUSY
|
||||||
: STATUS_SUCCESS);
|
: STATUS_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#include "mocks/mock_upload_manager.hpp"
|
#include "mocks/mock_upload_manager.hpp"
|
||||||
#include "platform/platform.hpp"
|
#include "platform/platform.hpp"
|
||||||
#include "types/repertory.hpp"
|
#include "types/repertory.hpp"
|
||||||
|
#include "utils/encrypting_reader.hpp"
|
||||||
#include "utils/event_capture.hpp"
|
#include "utils/event_capture.hpp"
|
||||||
#include "utils/file_utils.hpp"
|
#include "utils/file_utils.hpp"
|
||||||
#include "utils/native_file.hpp"
|
#include "utils/native_file.hpp"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user