Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
PathWatcher
IFile
Interface IFile
Index
Properties
cachedContents
digest
path
realPath
symlink
Methods
detectResurrection
detectResurrectionAfterDelay
exists
getBaseName
getDigest
getPath
getRealPathSync
handleEventSubscriptions
handleNativeChangeEvent
read
readSync
setDigest
setPath
subscribeToNativeChangeEvents
unsubscribeFromNativeChangeEvents
write
writeFileWithPrivilegeEscalationSync
Properties
public
cachedContents
:
string
public
digest
:
string
public
path
:
string
public
realPath
:
string
public
symlink
:
boolean
Methods
public
detectResurrection
(
)
public
detectResurrectionAfterDelay
(
)
public
exists
(
)
:
boolean
Returns
boolean
public
getBaseName
(
)
:
string
Returns
string
public
getDigest
(
)
:
string
Returns
string
public
getPath
(
)
:
string
Returns
string
public
getRealPathSync
(
)
:
string
Returns
string
public
handleEventSubscriptions
(
)
public
handleNativeChangeEvent
(
eventType
:
string
, eventPath
:
string
)
Parameters
eventType:
string
eventPath:
string
public
read
(
flushCache
?:
boolean
)
:
Promise
Parameters
flushCache?:
boolean
optional
Returns
Promise
public
readSync
(
flushCache
:
boolean
)
:
string
Parameters
flushCache:
boolean
Returns
string
public
setDigest
(
contents
:
string
)
Parameters
contents:
string
public
setPath
(
path
:
string
)
Parameters
path:
string
public
subscribeToNativeChangeEvents
(
)
public
unsubscribeFromNativeChangeEvents
(
)
public
write
(
text
:
string
)
Parameters
text:
string
public
writeFileWithPrivilegeEscalationSync
(
filePath
:
string
, text
:
string
)
Parameters
filePath:
string
text:
string
Globals
NodeJS
PathWatcher
assert
buffer
child_process
cluster
crypto
dgram
dns
domain
events
fs
http
https
jquery
net
os
path
pathwatcher
punycode
q
querystring
readline
repl
stream
string_decoder
tls
tty
url
util
vm
zlib
IDirectory
IDirectoryStatic
IFile
cachedContents
digest
path
realPath
symlink
detectResurrection
detectResurrectionAfterDelay
exists
getBaseName
getDigest
getPath
getRealPathSync
handleEventSubscriptions
handleNativeChangeEvent
read
readSync
setDigest
setPath
subscribeToNativeChangeEvents
unsubscribeFromNativeChangeEvents
write
writeFileWithPrivilegeEscalationSync
IFileStatic