Files
starface-outlook-sync-addin/node_modules/@jsonjoy.com/fs-node/lib/StatFs.d.ts
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

20 lines
648 B
TypeScript

import { Superblock } from '@jsonjoy.com/fs-core';
import type { IStatFs } from '@jsonjoy.com/fs-node-utils/lib/types/misc';
export type TStatNumber = number | bigint;
/**
* Statistics about a file system, like `fs.StatFs`.
*/
export declare class StatFs<T = TStatNumber> implements IStatFs<T> {
static build(superblock: Superblock, bigint: false): StatFs<number>;
static build(superblock: Superblock, bigint: true): StatFs<bigint>;
static build(superblock: Superblock, bigint?: boolean): StatFs<TStatNumber>;
type: T;
bsize: T;
blocks: T;
bfree: T;
bavail: T;
files: T;
ffree: T;
}
export default StatFs;