Improve mount waiting + misc doc improvements

Adds user.mergerfs.branch and user.mergerfs.branch_mounts_here
Adds .mergerfs.branch and .mergerfs.branch_mounts_here files.
This commit is contained in:
Antonio SJ Musumeci 2025-04-18 01:08:41 -05:00
parent 212681ddc5
commit de2a82800a
26 changed files with 583 additions and 212 deletions

21
src/fs_mounts.hpp Normal file
View file

@ -0,0 +1,21 @@
#pragma once
#include "fs_path.hpp"
#include <vector>
namespace fs
{
struct Mount
{
fs::Path dir;
std::string fsname;
std::string type;
std::string opts;
};
typedef std::vector<fs::Mount> MountVec;
void mounts(fs::MountVec &mounts);
}