filesystem
Version:
sha256:39c6e0f
types interface
Imported Types
wasi:io/streams.{input-stream}
wasi:io/streams.{output-stream}
wasi:io/streams.{error}
wasi:clocks/wall-clock.{datetime}
filesize:u64
descriptor-type:enum {
unknown
block-device
character-device
directory
fifo
symbolic-link
regular-file
socket
}descriptor-flags:flags {
read
write
file-integrity-sync
data-integrity-sync
requested-write-sync
mutate-directory
}path-flags:flags {
symlink-follow
}open-flags:flags {
create
directory
exclusive
truncate
}link-count:u64
descriptor-stat:record {}
error-code:enum {
access
would-block
already
bad-descriptor
busy
deadlock
quota
exist
file-too-large
illegal-byte-sequence
in-progress
interrupted
invalid
io
is-directory
loop
too-many-links
message-size
name-too-long
no-device
no-entry
no-lock
insufficient-memory
insufficient-space
not-directory
not-empty
not-recoverable
unsupported
no-tty
no-such-device
overflow
not-permitted
pipe
read-only
invalid-seek
text-file-busy
cross-device
}advice:enum {
normal
sequential
random
will-need
dont-need
no-reuse
}metadata-hash-value:record {
lower: u64
upper: u64
}descriptor:resource {
set-times(data-access-timestamp:new-timestamp, data-modification-timestamp:new-timestamp) → result<_, error-code>
set-times-at(path-flags:path-flags, path:string, data-access-timestamp:new-timestamp, data-modification-timestamp:new-timestamp) → result<_, error-code>
link-at(old-path-flags:path-flags, old-path:string, new-descriptor:borrow<descriptor>, new-path:string) → result<_, error-code>
open-at(path-flags:path-flags, path:string, open-flags:open-flags, flags:descriptor-flags) → result<descriptor, error-code>
rename-at(old-path:string, new-descriptor:borrow<descriptor>, new-path:string) → result<_, error-code>
}directory-entry-stream:resource {
}
preopens interface
Imported Types
wasi:filesystem/types.{descriptor}