Skip to content

Commit

Permalink
chore: remove chown callback
Browse files Browse the repository at this point in the history
  • Loading branch information
JoanVicens committed Mar 27, 2024
1 parent 8fc8d39 commit 1d3fa1d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/apps/fuse/FuseApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { ReleaseCallback } from './callbacks/ReleaseCallback';
import { FuseDependencyContainer } from './dependency-injection/FuseDependencyContainer';
import { ensureFolderExists } from './../shared/fs/ensure-folder-exists';
import { mountPromise, unmountFusedDirectory, unmountPromise } from './helpers';
import { ChownCallback } from './callbacks/ChownCallback';

// eslint-disable-next-line @typescript-eslint/no-var-requires
const fuse = require('@gcas/fuse');
Expand Down Expand Up @@ -68,8 +67,6 @@ export class FuseApp {
this.fuseContainer.virtualDriveContainer
);

const chown = new ChownCallback();

return {
getattr: getattr.handle.bind(getattr),
readdir: readdir.handle.bind(readdir),
Expand All @@ -82,7 +79,6 @@ export class FuseApp {
release: release.handle.bind(release),
unlink: trashFile.handle.bind(trashFile),
rmdir: trashFolder.handle.bind(trashFolder),
chown: chown.handle.bind(chown),
};
}

Expand Down

0 comments on commit 1d3fa1d

Please sign in to comment.