UNPKG
@kylecarbs/memfs
Version:
latest (4.17.0-13)
4.17.0-13
4.17.0-12
4.17.0-11
4.17.0-10
4.17.0-9
4.17.0-8
4.17.0-7
4.17.0-6
4.17.0-5
4.17.0-4
4.17.0-3
4.17.0-2
4.17.0-1
4.17.0-0
4.15.3
4.15.3-1
4.15.1-1
4.15.0
4.15.0-2
4.15.0-1
In-memory file-system with Node's fs API.
github.com/streamich/memfs
streamich/memfs
@kylecarbs/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
>;