@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
13 lines • 765 B
TypeScript
import type { RedirectResult } from '../../../../context/session_context.ts';
import type { PathSpec } from '../../../../types.ts';
import type { MountRegistry } from '../../../mount/registry.ts';
import type { SessionState } from '../../../session/session.ts';
/**
* mount [-l] [-t TYPES]: list the mounts the session sees, util-linux 2.41.5's
* way, with the session's mode as the options (`MODE_OPTIONS`). Mounting is an
* unprivileged user's refusal, since mounts come from the configuration, a
* mounting flag with no operand is a bad usage, and `-a` mounts the empty
* fstab.
*/
export declare function handleMount(registry: MountRegistry, session: SessionState, args: readonly (string | PathSpec)[]): RedirectResult;
//# sourceMappingURL=mount.d.ts.map