Loading src/io/transferors/local-path-to-local-path.cpp +15 −0 Original line number Diff line number Diff line Loading @@ -231,6 +231,21 @@ local_path_to_local_path_transferor::transfer( d_dst.canonical_path()); } std::error_code local_path_to_local_path_transferor::accept_transfer( const auth::credentials& auth, const std::shared_ptr<task_info>& task_info, const std::shared_ptr<const data::resource>& src, const std::shared_ptr<const data::resource>& dst) const { (void) auth; (void) task_info; (void) src; (void) dst; return std::make_error_code(static_cast<std::errc>(0)); } std::string local_path_to_local_path_transferor::to_string() const { return "transferor[local_path => local_path]"; Loading src/io/transferors/local-path-to-local-path.hpp +7 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,13 @@ struct local_path_to_local_path_transferor : public transferor { const std::shared_ptr<const data::resource>& dst) const override final; std::error_code accept_transfer(const auth::credentials& auth, const std::shared_ptr<task_info>& task_info, const std::shared_ptr<const data::resource>& src, const std::shared_ptr<const data::resource>& dst) const override final; std::string to_string() const override final; }; Loading src/io/transferors/local-path-to-remote-resource.cpp +16 −0 Original line number Diff line number Diff line Loading @@ -197,6 +197,22 @@ local_path_to_remote_resource_transferor::transfer( } } std::error_code local_path_to_remote_resource_transferor::accept_transfer( const auth::credentials& auth, const std::shared_ptr<task_info>& task_info, const std::shared_ptr<const data::resource>& src, const std::shared_ptr<const data::resource>& dst) const { (void) auth; (void) task_info; (void) src; (void) dst; return std::make_error_code(static_cast<std::errc>(0)); } std::string local_path_to_remote_resource_transferor::to_string() const { return "transferor[local_path => remote_resource]"; Loading src/io/transferors/local-path-to-remote-resource.hpp +7 −0 Original line number Diff line number Diff line Loading @@ -74,6 +74,13 @@ struct local_path_to_remote_resource_transferor : public transferor { const std::shared_ptr<const data::resource>& dst) const override final; std::error_code accept_transfer(const auth::credentials& auth, const std::shared_ptr<task_info>& task_info, const std::shared_ptr<const data::resource>& src, const std::shared_ptr<const data::resource>& dst) const override final; std::string to_string() const override final; Loading src/io/transferors/local-path-to-shared-path.cpp +18 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,24 @@ local_path_to_shared_path_transferor::transfer( (void) src; (void) dst; LOGGER_WARN("Transfer not implemented"); LOGGER_WARN("transfer not implemented"); return std::make_error_code(static_cast<std::errc>(0)); } std::error_code local_path_to_shared_path_transferor::accept_transfer( const auth::credentials& auth, const std::shared_ptr<task_info>& task_info, const std::shared_ptr<const data::resource>& src, const std::shared_ptr<const data::resource>& dst) const { (void) auth; (void) task_info; (void) src; (void) dst; LOGGER_WARN("transfer not implemented"); return std::make_error_code(static_cast<std::errc>(0)); } Loading Loading
src/io/transferors/local-path-to-local-path.cpp +15 −0 Original line number Diff line number Diff line Loading @@ -231,6 +231,21 @@ local_path_to_local_path_transferor::transfer( d_dst.canonical_path()); } std::error_code local_path_to_local_path_transferor::accept_transfer( const auth::credentials& auth, const std::shared_ptr<task_info>& task_info, const std::shared_ptr<const data::resource>& src, const std::shared_ptr<const data::resource>& dst) const { (void) auth; (void) task_info; (void) src; (void) dst; return std::make_error_code(static_cast<std::errc>(0)); } std::string local_path_to_local_path_transferor::to_string() const { return "transferor[local_path => local_path]"; Loading
src/io/transferors/local-path-to-local-path.hpp +7 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,13 @@ struct local_path_to_local_path_transferor : public transferor { const std::shared_ptr<const data::resource>& dst) const override final; std::error_code accept_transfer(const auth::credentials& auth, const std::shared_ptr<task_info>& task_info, const std::shared_ptr<const data::resource>& src, const std::shared_ptr<const data::resource>& dst) const override final; std::string to_string() const override final; }; Loading
src/io/transferors/local-path-to-remote-resource.cpp +16 −0 Original line number Diff line number Diff line Loading @@ -197,6 +197,22 @@ local_path_to_remote_resource_transferor::transfer( } } std::error_code local_path_to_remote_resource_transferor::accept_transfer( const auth::credentials& auth, const std::shared_ptr<task_info>& task_info, const std::shared_ptr<const data::resource>& src, const std::shared_ptr<const data::resource>& dst) const { (void) auth; (void) task_info; (void) src; (void) dst; return std::make_error_code(static_cast<std::errc>(0)); } std::string local_path_to_remote_resource_transferor::to_string() const { return "transferor[local_path => remote_resource]"; Loading
src/io/transferors/local-path-to-remote-resource.hpp +7 −0 Original line number Diff line number Diff line Loading @@ -74,6 +74,13 @@ struct local_path_to_remote_resource_transferor : public transferor { const std::shared_ptr<const data::resource>& dst) const override final; std::error_code accept_transfer(const auth::credentials& auth, const std::shared_ptr<task_info>& task_info, const std::shared_ptr<const data::resource>& src, const std::shared_ptr<const data::resource>& dst) const override final; std::string to_string() const override final; Loading
src/io/transferors/local-path-to-shared-path.cpp +18 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,24 @@ local_path_to_shared_path_transferor::transfer( (void) src; (void) dst; LOGGER_WARN("Transfer not implemented"); LOGGER_WARN("transfer not implemented"); return std::make_error_code(static_cast<std::errc>(0)); } std::error_code local_path_to_shared_path_transferor::accept_transfer( const auth::credentials& auth, const std::shared_ptr<task_info>& task_info, const std::shared_ptr<const data::resource>& src, const std::shared_ptr<const data::resource>& dst) const { (void) auth; (void) task_info; (void) src; (void) dst; LOGGER_WARN("transfer not implemented"); return std::make_error_code(static_cast<std::errc>(0)); } Loading