Skip to main content

Module workspace

Module workspace 

Source
Expand description

Workspace filesystem contract (B2 of the Gitbit platform requirements).

Read-only access to files under user-confirmed roots. Unlike a blanket fs:allow-read-* Tauri capability, every access is scoped to an explicitly chosen directory — WorkspaceRoot is confirmed via a native dialog, not a free-form path the caller can pick.

Structs§

DirEntry
A directory entry returned by WorkspaceFs::list_dir.
RelPath
A relative path within a WorkspaceRoot.
WorkspaceRoot
A directory explicitly chosen by the user (e.g. via a native file dialog).

Traits§

WorkspaceFs
Read-only workspace filesystem.