mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
policy: add "most shared path" policies
Like path preserving but walks back the path till a match is found. Should cover the usecase where someone wants a "less strict" form of path preservation.
This commit is contained in:
parent
d4eecf3b56
commit
3ec137c4ad
11 changed files with 696 additions and 69 deletions
|
|
@ -29,7 +29,7 @@ namespace fs
|
|||
{
|
||||
namespace path
|
||||
{
|
||||
string
|
||||
string
|
||||
dirname(const char *path_)
|
||||
{
|
||||
string path(path_);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue