Loading src/common/api/admire_types.hpp +3 −0 Original line number Diff line number Diff line Loading @@ -210,8 +210,11 @@ struct pfs_storage : public storage { pfs_storage(enum storage::type type, std::string id, std::filesystem::path mount_point); pfs_storage(enum storage::type type, std::string id, ADM_pfs_context_t ctx); pfs_storage(const pfs_storage& other) noexcept; pfs_storage(pfs_storage&&) noexcept = default; pfs_storage& operator=(const pfs_storage& other) noexcept; pfs_storage& operator=(pfs_storage&&) noexcept = default; ~pfs_storage() override; Loading src/common/api/types.cpp +10 −0 Original line number Diff line number Diff line Loading @@ -946,6 +946,16 @@ pfs_storage::ctx::ctx(std::filesystem::path mount_point) pfs_storage::ctx::ctx(ADM_pfs_context_t ctx) : pfs_storage::ctx(ctx->c_mount) {} pfs_storage::pfs_storage(const pfs_storage& other) noexcept : storage(other.m_type, other.m_id), m_pimpl(std::make_unique<impl>(*other.m_pimpl)) {} pfs_storage& pfs_storage::operator=(const pfs_storage& other) noexcept { this->m_pimpl = std::make_unique<impl>(*other.m_pimpl); return *this; } std::filesystem::path pfs_storage::ctx::mount_point() const { return m_mount_point; Loading Loading
src/common/api/admire_types.hpp +3 −0 Original line number Diff line number Diff line Loading @@ -210,8 +210,11 @@ struct pfs_storage : public storage { pfs_storage(enum storage::type type, std::string id, std::filesystem::path mount_point); pfs_storage(enum storage::type type, std::string id, ADM_pfs_context_t ctx); pfs_storage(const pfs_storage& other) noexcept; pfs_storage(pfs_storage&&) noexcept = default; pfs_storage& operator=(const pfs_storage& other) noexcept; pfs_storage& operator=(pfs_storage&&) noexcept = default; ~pfs_storage() override; Loading
src/common/api/types.cpp +10 −0 Original line number Diff line number Diff line Loading @@ -946,6 +946,16 @@ pfs_storage::ctx::ctx(std::filesystem::path mount_point) pfs_storage::ctx::ctx(ADM_pfs_context_t ctx) : pfs_storage::ctx(ctx->c_mount) {} pfs_storage::pfs_storage(const pfs_storage& other) noexcept : storage(other.m_type, other.m_id), m_pimpl(std::make_unique<impl>(*other.m_pimpl)) {} pfs_storage& pfs_storage::operator=(const pfs_storage& other) noexcept { this->m_pimpl = std::make_unique<impl>(*other.m_pimpl); return *this; } std::filesystem::path pfs_storage::ctx::mount_point() const { return m_mount_point; Loading