Add support for FUSE passthrough
Some checks are pending
CodeQL / Analyze (push) Waiting to run
mkdocs / deploy (push) Waiting to run

This commit is contained in:
trapexit 2025-06-05 23:47:42 -05:00 • committed by GitHub
parent 92312c8507
commit e310d24615
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
412 changed files with 43707 additions and 17432 deletions

View file

@ -20,11 +20,9 @@
#include "fuse_kernel.h"
#include "nonstd/string_view.hpp"
#include "ghc/filesystem.hpp"
#include <cstdint>
#include <string>
#include <string_view>
#include <sys/stat.h>
@ -36,16 +34,16 @@ namespace fs
int set_algo(const std::string &s);
std::string get_algo(void);
uint64_t calc(const nonstd::string_view basepath,
const nonstd::string_view fusepath,
const mode_t mode,
const ino_t ino);
uint64_t calc(const std::string_view basepath,
const std::string_view fusepath,
const mode_t mode,
const ino_t ino);
void calc(const nonstd::string_view basepath,
const nonstd::string_view fusepath,
struct stat *st);
void calc(const nonstd::string_view basepath,
const nonstd::string_view fusepath,
struct fuse_statx *st);
void calc(const std::string_view basepath,
const std::string_view fusepath,
struct stat *st);
void calc(const std::string_view basepath,
const std::string_view fusepath,
struct fuse_statx *st);
}
}