UNPKG
@ezdevlol/memfs
Version:
latest (4.23.0)
4.23.0
In-memory file-system with Node's fs API.
github.com/streamich/memfs
streamich/memfs
@ezdevlol/memfs
/
lib
/
print
/
index.d.ts
9 lines
(8 loc)
•
263 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
type
{
FsSynchronousApi
}
from
'../node/types'
;
export
declare
const
toTreeSync
:
(
fs
:
FsSynchronousApi
,
opts
?:
ToTreeOptions
) =>
string
;
export
interface
ToTreeOptions
{
dir
?:
string
;
tab
?:
string
;
depth
?:
number
;
separator
?:
'/'
|
'\\'
; }