You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

19 lines
648 B

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;