chunkio/1.5.2

Simple library to manage chunks of data in memory and file system
Recipe info
2024-04-09

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
chunkio/1.5.2

Using chunkio

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
chunkio/1.5.2
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("chunkio/1.5.2")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): chunkio
  • CMake target name(s): chunkio::chunkio
  • pkg-config file name(s): chunkio.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(chunkio REQUIRED)
# ...
target_link_libraries(YOUR_TARGET chunkio::chunkio)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the chunkio homepage listed above:

#include "chunkio/chunkio.h"
#include "chunkio/chunkio_compat.h"
#include "chunkio/cio_chunk.h"
#include "chunkio/cio_crc32.h"
#include "chunkio/cio_error.h"
#include "chunkio/cio_file.h"
#include "chunkio/cio_file_native.h"
#include "chunkio/cio_file_st.h"
#include "chunkio/cio_info.h"
#include "chunkio/cio_log.h"
#include "chunkio/cio_memfs.h"
#include "chunkio/cio_meta.h"
#include "chunkio/cio_os.h"
#include "chunkio/cio_scan.h"
#include "chunkio/cio_sha1.h"
#include "chunkio/cio_stats.h"
#include "chunkio/cio_stream.h"
#include "chunkio/cio_utils.h"
#include "chunkio/cio_version.h"
#include "monkey/mk_core/external/wingetopt.h"
#include "monkey/mk_core/mk_getopt.h"
#include "monkey/mk_core/mk_list.h"