Under heavy development. This site describes the intended 1.0 language. Current features and performance vary. Development status
Sn50SnThe SnAPI programming language
Snapshot · Oct 24, 2026 · Frozen documentation

FileMetadataChangeWork

Copies bounded worker arguments without scheduling or I/O.

Sn is under heavy development. This reference includes the intended 1.0 design; features may be incomplete in the current compiler. Read the status →

Module std.fs

import std.fs;

Public declaration contracts and authored examples. A page can document several related symbols. Implementation bodies are excluded.

Create

pub static fn Create(Token: usize, Mode: PosixFileMode) -> FileChangePosixModeWork

Copies bounded worker arguments without scheduling or I/O. Token: Authenticated held-object token. Mode: Owned mutation request. Return: Independent copied worker arguments without scheduling or I/O.

Invoke

pub readonly fn Invoke() -> Result<void, IoError>

Performs one held-object mutation inside the worker callback. Return: Exact portable operation result; no post-commit cancellation substitution.

Create

pub static fn Create(Token: usize, Change: PosixOwnershipChange) -> FileChangePosixOwnershipWork

Copies bounded worker arguments without scheduling or I/O. Token: Authenticated held-object token. Change: Owned mutation request. Return: Independent copied worker arguments without scheduling or I/O.

Invoke

pub readonly fn Invoke() -> Result<void, IoError>

Performs one held-object mutation inside the worker callback. Return: Exact portable operation result; no post-commit cancellation substitution.

Create

pub static fn Create(Token: usize, Change: FileTimestampChange) -> FileChangeTimesWork

Copies bounded worker arguments without scheduling or I/O. Token: Authenticated held-object token. Change: Owned mutation request. Return: Independent copied worker arguments without scheduling or I/O.

Invoke

pub readonly fn Invoke() -> Result<void, IoError>

Performs one held-object mutation inside the worker callback. Return: Exact portable operation result; no post-commit cancellation substitution.

Documentation snapshot: October 24, 2026 About versions ↗
Searching Development · language & standard library