smartfile/ts/smartfile.fsstream.ts

17 lines
413 B
TypeScript
Raw Normal View History

2022-06-07 13:11:21 +00:00
/*
This file contains logic for streaming things from and to the filesystem
*/
2022-06-07 13:43:28 +00:00
import * as plugins from './smartfile.plugins.js';
2022-06-07 13:11:21 +00:00
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) => {
}