Skip to content

StreamEntry

An NTFS alternate data stream of a file.

Listed by fs.streams and Path.streams. Windows only.

Operators

path / stream returns the stream-qualified Path for that entry:

for stream = streams "data.txt"
  echo (Path "data.txt" / stream)

Fields

alloc_size @ Int

Allocated stream size in bytes.

name @ Str

Stream name. The unnamed default stream is reported as "".

for stream = streams "data.txt"
  echo $stream.name
size @ Int

Logical stream size in bytes.

type @ Str

Stream type without the leading $.

for stream = streams "data.txt"
  echo $stream.type