|
FlatImage
A configurable Linux containerization system
|
Filesystem utilities for managing instances and layers. More...
#include <string>#include <filesystem>#include <ranges>#include <chrono>#include <thread>#include "../std/expected.hpp"#include "../macro.hpp"Go to the source code of this file.
Classes | |
| struct | ns_filesystems::ns_utils::Instance |
| Represents an instance. More... | |
Namespaces | |
| namespace | ns_filesystems::ns_utils |
| Filesystem utility functions. | |
| namespace | ns_filesystems |
| FlatImage filesystem layer implementations. | |
Functions | |
| bool | ns_filesystems::ns_utils::is_busy (fs::path const &path_dir) |
| Checks if a filesystem path is currently in use by any active process. | |
| Value< void > | ns_filesystems::ns_utils::wait_busy (fs::path const &path_dir, std::chrono::nanoseconds timeout) |
| Waits for a filesystem path to become available (not busy). | |
| std::vector< Instance > | ns_filesystems::ns_utils::get_instances (fs::path const &path_dir_instances) |
| Get the running FlatImage instances. | |
| std::vector< fs::path > | ns_filesystems::ns_utils::get_mounted_layers (fs::path const &path_dir_layers) |
| Get a path for each layer directory. | |
Filesystem utilities for managing instances and layers.
This file provides utility functions and data structures for interacting with FlatImage filesystem components.
Definition in file utils.hpp.