@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
10 lines • 662 B
TypeScript
import type { GDriveAccessor } from '../../accessor/gdrive.ts';
import type { FileStat, PathSpec, SetAttrFields } from '../../types.ts';
/**
* Store a modified time as the item's Drive `modifiedTime`, and return the
* fields Drive does not keep: permission bits, ownership and the access time
* land in the namespace's overlay, and so does a time for the mount root,
* which is no item of the mount's own. Mirrors Python's `set_attrs`.
*/
export declare const setAttrs: (accessor: GDriveAccessor, path: PathSpec, fields: SetAttrFields, entry?: FileStat | null | undefined) => Promise<Record<string, string | number>>;
//# sourceMappingURL=set_attrs.d.ts.map