typing is now correct for the file system

This commit is contained in:
2025-03-06 17:29:30 -05:00
parent b7babb665e
commit b3fa561c76
4 changed files with 80 additions and 72 deletions

11
src/rt/rfwfs/tree.ts Normal file
View File

@ -0,0 +1,11 @@
import rfwfs, { Permissions } from "./main";
const time_now = (Date.now()/1000)|0
const fs = rfwfs.new_collection([
rfwfs.new_entry("/", Permissions.r, time_now, rfwfs.new_collection([
rfwfs.new_entry("home", Permissions.r, time_now, "hi")
]))
])
export default fs