Skip to content

Commit

Permalink
forgot one!
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgrammerIn-wonderland committed Oct 5, 2024
1 parent a600597 commit e699c74
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
7 changes: 0 additions & 7 deletions src/api/Filesystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,6 @@ abstract class AnuraFSOperations<TStats> {

abstract unlink(path: string, callback?: (err: Error | null) => void): void;

abstract mknod(
path: string,
mode: number,
callback?: (err: Error | null) => void,
): void;

abstract rmdir(path: string, callback?: (err: Error | null) => void): void;

abstract mkdir(
Expand Down Expand Up @@ -243,7 +237,6 @@ abstract class AnuraFSOperations<TStats> {
prefix: string,
options?: { encoding: string },
): Promise<string>;
mknod(path: string, mode: number): Promise<void>;
open(
path: string,
flags: "r" | "r+" | "w" | "w+" | "a" | "a+",
Expand Down
9 changes: 0 additions & 9 deletions src/api/LocalFS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,10 +439,6 @@ class LocalFS extends AFSProvider<LocalFSStats> {
console.error("Not implemented: mkdtemp");
throw new Error("Not implemented");
},
mknod: () => {
console.error("Not implemented: mknod");
throw new Error("Not implemented");
},
open: async (
path: string,
_flags: "r" | "r+" | "w" | "w+" | "a" | "a+",
Expand Down Expand Up @@ -541,11 +537,6 @@ class LocalFS extends AFSProvider<LocalFSStats> {
throw new Error("Method not implemented.");
}

mknod() {
console.error("Not implemented: mknod");
throw new Error("Method not implemented.");
}

access() {
console.error("Not implemented: access");
throw new Error("Method not implemented.");
Expand Down

0 comments on commit e699c74

Please sign in to comment.