Wasm Directoryalpha
Variant

descriptor-type

The type of a filesystem object referenced by a descriptor.

variant descriptor-type {
  block-device,
  character-device,
  directory,
  fifo,
  symbolic-link,
  regular-file,
  socket,
  other(option​<string>),
}

Cases

CasePayloadDescription
block-deviceThe descriptor refers to a block device inode.
character-deviceThe descriptor refers to a character device inode.
directoryThe descriptor refers to a directory inode.
fifoThe descriptor refers to a named pipe.
symbolic-linkThe file refers to a symbolic link inode.
regular-fileThe descriptor refers to a regular file inode.
socketThe descriptor refers to a socket.
otheroption​<string>The type of the descriptor or file is different from any of the other types specified.