{ 28 | repo: Repository
,
29 | vfs: Vfs,
30 | open_files: RwLock FuseFS {
36 | pub(crate) fn new(repo: Repository , vfs: Vfs, file_policy: FilePolicy) -> Self {
37 | let open_files = RwLock::new(BTreeMap::new());
38 |
39 | Self {
40 | repo,
41 | vfs,
42 | open_files,
43 | now: SystemTime::now(),
44 | file_policy,
45 | }
46 | }
47 |
48 | fn node_from_path(&self, path: &Path) -> Result FilesystemMT for FuseFS {
121 | fn getattr(&self, _req: RequestInfo, path: &Path, _fh: Option