smartfile/ts/smartfile.fsstream.ts
2022-06-07 15:11:21 +02:00

17 lines
410 B
TypeScript

/*
This file contains logic for streaming things from and to the filesystem
*/
import * as plugins from './smartfile.plugins';
export const createReadStream = (pathArg: string) => {
return plugins.fs.createReadStream(pathArg);
};
export const createWriteStream = (pathArg: string) => {
return plugins.fs.createWriteStream(pathArg);
};
export const streamDirectory = async (dirPathArg: string) => {
}