typing is now correct for the file system
This commit is contained in:
11
src/rt/rfwfs/tree.ts
Normal file
11
src/rt/rfwfs/tree.ts
Normal 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
|
Reference in New Issue
Block a user