mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-04 22:00:15 -05:00
35 lines
508 B
C++
35 lines
508 B
C++
|
|
#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;
|
||
|
|
};
|
||
|
|
};
|