Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4504039
fs.d.ts
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
fs.d.ts
View Options
declare
module
'fs'
{
interface
Stats
{
size
:
number
;
mode
:
number
;
uid
:
number
;
gid
:
number
;
isFile
()
:
boolean
;
isDirectory
()
:
boolean
;
isSymbolicLink
()
:
boolean
;
}
const
constants
:
{
F_OK
:
number
;
R_OK
:
number
;
W_OK
:
number
;
X_OK
:
number
;
};
function
readFile
(
path
:
string
)
:
Promise
<
string
>
;
function
readFileSync
(
path
:
string
)
:
string
;
function
stream
(
path
:
string
)
:
Promise
<
string
>
;
function
open
(
path
:
string
)
:
string
;
function
writeFile
(
path
:
string
,
data
:
string
)
:
Promise
<
void
>
;
function
writeFileSync
(
path
:
string
,
data
:
string
)
:
void
;
function
appendFileSync
(
path
:
string
,
data
:
string
)
:
void
;
function
copyFileSync
(
src
:
string
,
dest
:
string
)
:
void
;
function
renameSync
(
oldPath
:
string
,
newPath
:
string
)
:
void
;
function
unlink
(
path
:
string
)
:
Promise
<
void
>
;
function
unlinkSync
(
path
:
string
)
:
void
;
function
mkdir
(
path
:
string
,
options
?:
{
recursive?
:
boolean
})
:
Promise
<
void
>
;
function
mkdirSync
(
path
:
string
,
options
?:
{
recursive?
:
boolean
})
:
void
;
function
rmdir
(
path
:
string
)
:
Promise
<
void
>
;
function
rmdirSync
(
path
:
string
)
:
void
;
function
stat
(
path
:
string
)
:
Promise
<
Stats
>
;
function
statSync
(
path
:
string
)
:
Stats
;
function
exists
(
path
:
string
)
:
Promise
<
boolean
>
;
function
existsSync
(
path
:
string
)
:
boolean
;
function
access
(
path
:
string
,
mode?
:
number
)
:
Promise
<
void
>
;
function
accessSync
(
path
:
string
,
mode?
:
number
)
:
void
;
function
readdir
(
path
:
string
)
:
Promise
<
string
[]
>
;
function
readdirSync
(
path
:
string
)
:
string
[];
}
declare
module
'ant:fs'
{
export
*
from
'fs'
;
}
declare
module
'node:fs'
{
export
*
from
'fs'
;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, May 3, 9:41 AM (5 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
538224
Default Alt Text
fs.d.ts (1 KB)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment