Resolve "Replace Margo with Mercury in client code"

Closes #32 (closed)

Merge request reports

Loading

CMake/FindDate.cmake

0 → 100644
+40 −0
Changes for CMake/FindDate.cmake: 40 added lines, 0 removed lines.
Original line number Diff line number Diff line
find_path(DATE_INCLUDE_DIR
    NAMES date/date.h
)

find_path(TZ_INCLUDE_DIR
    NAMES date/tz.h
)

find_library(TZ_LIBRARY
    NAMES tz
)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args( Date 
    DEFAULT_MSG 
    DATE_INCLUDE_DIR
    TZ_INCLUDE_DIR
    TZ_LIBRARY
)

if(Date_FOUND)
    set(DATE_INCLUDE_DIRS ${DATE_INCLUDE_DIR})
    set(TZ_INCLUDE_DIRS ${TZ_INCLUDE_DIR})
    set(TZ_LIBRARIES ${TZ_LIBRARY})

    if(NOT TARGET Date::TZ)
        add_library(Date::TZ UNKNOWN IMPORTED)
        set_target_properties(Date::TZ PROPERTIES
            IMPORTED_LOCATION "${TZ_LIBRARY}"
            INTERFACE_COMPILE_DEFINITIONS "USE_OS_TZDB=1"
            INTERFACE_INCLUDE_DIRECTORIES "${TZ_INCLUDE_DIR}"
        )
    endif()
endif()

mark_as_advanced(
    DATE_INCLUDE_DIR
    TZ_INCLUDE_DIR
    TZ_LIBRARY
)
Changes for external/fmt: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
Subproject commit f94b7364b9409f05207c3af3fa4666730e11a854
Changes for external/hermes: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
Subproject commit 31d15c2339d48dba6561546a45ecd759c16d8455
+2044 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −1
Changes for include/client/rpc/ld_rpc_metadentry.hpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ int mk_node(const std::string& path, mode_t mode);

int stat(const std::string& path, std::string& attr);

int rm_node(const std::string& path, const bool remove_metadentry_only);
int rm_node(const std::string& path, const bool remove_metadentry_only, const ssize_t size);

int decr_size(const std::string& path, size_t length);

Loading
Loading