Implement bespoke branch policies

Consolidate branch policy selection behind the BranchPolicy interfaces and update filesystem operations to use the bespoke policy implementations.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Antonio S. Musumeci 2026-05-20 21:17:04 -04:00
parent 42ab831d97
commit 96d8232853
451 changed files with 18495 additions and 7562 deletions

10
src/func_chown_erofs.cpp Normal file
View file

@ -0,0 +1,10 @@
#include "func_chown_erofs.hpp"
#include "errno.hpp"
std::string_view Func2::ChownEROFS::name() const { return "erofs"; }
int
Func2::ChownEROFS::operator()(const Branches&,const fs::path&,const uid_t,const gid_t)
{
return -EROFS;
}