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
/
fsa-to-node
/
util.d.ts
5 lines
(4 loc)
•
270 B
TypeScript
View Raw
1
2
3
4
5
import
{
IFileSystemDirectoryHandle
}
from
'../fsa/types'
;
import
type
{
FsLocation
}
from
'./types'
;
export
declare
const
pathToLocation
:
(
path
:
string
) =>
FsLocation
;
export
declare
const
testDirectoryIsWritable
:
(
dir
:
IFileSystemDirectoryHandle
) =>
Promise
<
boolean
>;