fs
luau
local fs = require("@std/fs")fs.close
luau
(file: file) -> ()fs.copy
luau
(src: pathlike, dest: pathlike) -> ()fs.createdirectory
luau
(path: pathlike, options: createdirectoryoptions?) -> ()fs.exists
luau
(path: pathlike) -> booleanfs.link
luau
(src: pathlike, dest: pathlike) -> ()fs.listdirectory
luau
(path: pathlike) -> { directoryentry }fs.metadata
luau
(path: pathlike) -> metadatafs.open
luau
(path: pathlike, mode: handlemode?) -> filefs.read
luau
(file: file) -> stringfs.readfiletostring
luau
(filepath: pathlike) -> stringfs.remove
luau
(path: pathlike) -> ()fs.removedirectory
luau
(path: pathlike, options: removedirectoryoptions?) -> ()fs.symboliclink
luau
(src: pathlike, dest: pathlike) -> ()fs.type
luau
(path: pathlike) -> typefs.walk
luau
(path: pathlike, options: walkoptions?) -> () -> path?fs.watch
luau
(path: pathlike, callback: (filename: pathlike, event: watchevent) -> ()) -> watchhandlefs.write
luau
(file: file, contents: string) -> ()fs.writestringtofile
luau
(filepath: pathlike, contents: string) -> ()