mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-30 03:47:02 -05:00
checkpoint
This commit is contained in:
parent
d88731a380
commit
907dddb0ca
3 changed files with 113 additions and 0 deletions
34
src/mfm_options.hpp
Normal file
34
src/mfm_options.hpp
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
#pragma once
|
||||
|
||||
#include "int_types.h"
|
||||
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace mfm
|
||||
{
|
||||
struct Opts
|
||||
{
|
||||
struct Dup
|
||||
{
|
||||
std::filesystem::path dirpath;
|
||||
} dup;
|
||||
|
||||
struct Watch
|
||||
{
|
||||
std::filesystem::path path;
|
||||
} watch;
|
||||
|
||||
struct Migrate
|
||||
{
|
||||
std::vector<std::filesystem::path> src;
|
||||
std::vector<std::filesystem::path> dst;
|
||||
} migrate;
|
||||
|
||||
struct Rebalance
|
||||
{
|
||||
std::vector<std::filesystem::path> dirpaths;
|
||||
} rebalance;
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue