Skip to content

FS.Read

Name Mandatory Description Default Type
⬅️ Input The input of the shard, if any String
Output ➡️ The resulting output of the shard BytesString
Bytes No If the output should be SHType::Bytes instead of SHType::String false Bool
MaxSize No Maximum file size in bytes (default: 0 = unlimited). Set to limit file size and prevent memory exhaustion 0 Int
ChunkSize No If set, enables chunked reading. Returns ChunkSize bytes per activation. Returns empty when EOF 0 Int
BasePath No Optional base path - restricts read operations to this directory none StringVar(String)None
FollowSymlinks No Follow symbolic links (default: true). Set to false to reject symlinks true Bool