diff --git a/src/rt/rfwfs/fs/library.ts b/src/rt/rfwfs/fs/library.ts new file mode 100644 index 0000000..6257ee6 --- /dev/null +++ b/src/rt/rfwfs/fs/library.ts @@ -0,0 +1,30 @@ +import { ReadStatus } from "../enum" +import rfwfs, { type EntryCollection, type Entry } from "../main" + +import fs from "./root" + +let username: string = "user" +const libhome = {} as LibHome + +interface WorkingDir { + entry?: EntryCollection, + path: string[] +} +interface LibHome { + path: () => string[], + get: () => EntryCollection, +} + +function traverse_to_goal(path: string[]) { + if (working_dir.entry) { + + } +} + +libhome.path = function() { + return ["home", username] +} + +libhome.get = function() { + +} \ No newline at end of file