refactor: hide filesystem implementation helpers

This commit is contained in:
Tianyi Cui
2026-07-14 03:30:23 +08:00
parent a0359bc4a9
commit f9db1a6a08
9 changed files with 12 additions and 34 deletions

View File

@@ -40,20 +40,6 @@ import {
} from './fsio.ts'
import type { FsIoInternals } from './fsio.ts'
export {
applyLiteralEdit,
listDirectory,
probe,
readForEdit,
readTextForDiff,
readWholeText,
resolveLocalTarget,
restoreLineEndings,
streamWholeText,
writeFileAtomic,
} from './fsio.ts'
export type { FsIoInternals, LineEndings, LocalDirEntry, LocalTarget, PathInfo } from './fsio.ts'
/** Configuration for the local filesystem backend. */
export interface Config {
/** Base directory for relative paths. Defaults to `process.cwd()`. */