Files
2026-02-05 15:27:49 +08:00

15 lines
463 B
TypeScript

/**
* Create a reflink asynchronously.
* @param {String} src Source of the reflink.
* @param {String} dst Target of the reflink.
* @returns {Promise.<number>}
*/
export function reflinkFile(src: string, dst: string): Promise<number>;
/**
* Create a reflink asynchronously.
* @param {String} src Source of the reflink.
* @param {String} dst Target of the reflink.
* @returns {number}
*/
export function reflinkFileSync(src: string, dst: string): number;