Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoogleChromeLabs/wasi-fs-access
/ functions
Functions
87 in github.com/GoogleChromeLabs/wasi-fs-access
⨍
Functions
87
◇
Types & classes
36
↓ 28 callers
Method
_getBuffer
()
src/bindings.ts:354
↓ 26 callers
Method
get
(buf: ArrayBuffer, ptr: ptr<T>)
src/type-desc.ts:24
↓ 25 callers
Method
set
(buf: ArrayBuffer, ptr: ptr<T>, value: T)
src/type-desc.ts:25
↓ 10 callers
Function
struct
( desc: T )
src/type-desc.ts:92
↓ 8 callers
Function
enumer
(base: TypeDesc<number>)
src/type-desc.ts:171
↓ 8 callers
Function
std
(name: string, size: number)
src/type-desc.ts:43
↓ 7 callers
Method
getPreOpen
(fd: fd_t)
src/fileSystem.ts:327
↓ 7 callers
Method
write
(data: Uint8Array)
src/bindings.ts:229
↓ 6 callers
Method
asFile
()
src/fileSystem.ts:292
↓ 6 callers
Function
unimplemented
()
src/bindings.ts:265
↓ 5 callers
Function
alignTo
(ptr: number, align: number)
src/type-desc.ts:84
↓ 5 callers
Method
close
()
src/fileSystem.ts:300
↓ 5 callers
Method
getFile
()
src/fileSystem.ts:252
↓ 5 callers
Method
getFileOrDir
(path: string, mode: FileOrDir, openFlags: OpenFlags = 0)
src/fileSystem.ts:148
↓ 4 callers
Method
flush
()
src/fileSystem.ts:286
↓ 4 callers
Function
stringOut
(writeStr: (chunk: string) => void)
src/bindings.ts:242
↓ 3 callers
Method
_checkAbort
()
src/bindings.ts:338
↓ 3 callers
Method
delete
(path: string)
src/fileSystem.ts:228
↓ 3 callers
Method
get
(fd: fd_t)
src/fileSystem.ts:352
↓ 3 callers
Method
run
(module: WebAssembly.Module)
src/bindings.ts:769
↓ 3 callers
Function
writeIndented
(s: string)
src/browser.ts:85
↓ 2 callers
Method
_add
(path: string, handle: Handle)
src/fileSystem.ts:335
↓ 2 callers
Method
_forEachIoVec
( iovsPtr: ptr<iovec_t>, iovsLen: number, handledPtr: ptr<number>, cb: (buf: Uint8Array) => Pr
src/bindings.ts:787
↓ 2 callers
Method
_getFileStat
(file: File | undefined, filestatPtr: ptr<filestat_t>)
src/bindings.ts:362
↓ 2 callers
Method
_getWriter
()
src/fileSystem.ts:258
↓ 2 callers
Method
_resolve
(path: string)
src/fileSystem.ts:110
↓ 2 callers
Method
_take
(fd: fd_t)
src/fileSystem.ts:360
↓ 2 callers
Method
findRelPath
(path: string)
src/fileSystem.ts:376
↓ 2 callers
Method
getEntries
( start = 0 )
src/fileSystem.ts:43
↓ 2 callers
Function
lineOut
(writeLn: (chunk: string) => void)
src/bindings.ts:252
↓ 2 callers
Method
open
(preOpen: OpenDirectory, path: string, openFlags?: OpenFlags)
src/fileSystem.ts:345
↓ 2 callers
Method
read
(len: number)
src/bindings.ts:225
↓ 2 callers
Method
sizes_get
(buf: ArrayBuffer, countPtr: ptr<number>, sizePtr: ptr<number>)
src/bindings.ts:283
↓ 1 callers
Method
_wait
(ms: number)
src/bindings.ts:344
↓ 1 callers
Method
asDir
()
src/fileSystem.ts:296
↓ 1 callers
Function
bufferIn
(buffer: Uint8Array)
src/bindings.ts:232
↓ 1 callers
Method
close
(fd: fd_t)
src/fileSystem.ts:371
↓ 1 callers
Method
getWasiImports
()
src/bindings.ts:381
↓ 1 callers
Method
renumber
(from: fd_t, to: fd_t)
src/fileSystem.ts:366
↓ 1 callers
Method
setSize
(size: number)
src/fileSystem.ts:267
↓ 1 callers
Function
taggedUnion
({ tag: tagDesc, data: dataDesc }: { tag: TypeDesc<E>; data: T; })
src/type-desc.ts:129
↓ 1 callers
Function
translateError
(err: any)
src/bindings.ts:809
↓ 1 callers
Function
write
(data: Uint8Array)
src/browser.ts:186
Method
[Symbol.asyncIterator]
()
src/fileSystem.ts:104
Method
addEvent
(event: Partial<event_t>)
src/bindings.ts:645
Method
asDir
()
src/fileSystem.ts:31
Method
asFile
()
src/fileSystem.ts:27
Method
close
()
src/fileSystem.ts:236
Method
constructor
(protected _buf: ArrayBuffer, protected _ptr: number)
src/type-desc.ts:96
Method
constructor
(public statusCode: number)
src/bindings.ts:50
Method
constructor
(public readonly code: E, public readonly ignore = false)
src/bindings.ts:198
Method
constructor
(strings: string[])
src/bindings.ts:273
Method
constructor
({ openFiles, stdin = { read: () => new Uint8Array() }, stdout = lineOut(console.log), stderr
src/bindings.ts:308
Method
constructor
( public readonly path: string, private readonly _handle: FileSystemDirectoryHandle )
src/fileSystem.ts:20
Method
constructor
( public readonly path: string, private readonly _handle: FileSystemFileHandle )
src/fileSystem.ts:242
Method
constructor
(preOpen: Record<string, FileSystemDirectoryHandle>)
src/fileSystem.ts:320
Function
get
(buf, ptr)
src/type-desc.ts:50
Function
get
(this: FileSystemHandle)
src/browser.ts:46
Method
get
(buf: ArrayBuffer, offsetsPtr: ptr<Uint32Array>, ptr: ptr<string>)
src/bindings.ts:288
Function
main
tests/c/notdir.c:5
Function
main
tests/c/read_file.c:4
Function
main
tests/c/clock_getres.c:4
Function
main
tests/c/symlink_escape.c:5
Function
main
tests/c/cant_dotdot.c:5
Function
main
tests/c/follow_symlink.c:4
Function
main
tests/c/gettimeofday.c:5
Function
main
tests/c/link.c:8
Function
main
tests/c/freopen.c:4
Function
main
tests/c/symlink_loop.c:5
Function
main
tests/c/preopen_populates.c:1
Function
main
tests/c/fd_prestat_get_refresh.c:3
Function
main
tests/c/getentropy.c:4
Function
main
tests/c/poll.c:8
Function
main
tests/c/read_file_twice.c:4
Function
main
tests/c/write_file.c:7
Function
main
tests/c/getrusage.c:4
Function
main
tests/c/exitcode.c:1
Function
main
tests/c/create_symlink.c:6
Function
main
tests/c/main_args.c:4
Function
main
tests/c/stdin.c:3
Function
main
tests/c/stat.c:14
Method
openWithCreate
(create: boolean)
src/fileSystem.ts:166
Method
prefixMatches
(prefix: string, path: string)
src/fileSystem.ts:378
Function
read
()
src/browser.ts:147
Method
read
(len: number)
src/fileSystem.ts:272
Function
set
(buf, ptr, value)
src/type-desc.ts:53
Method
write
(data: Uint8Array)
src/fileSystem.ts:280