Search
Preparing search index...
The search index is not available
is-my-file-ready
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
is-my-file-ready
Index
Type aliases
Check
Function
Check
Name
Check
Result
Functions
default
edit
Time
ends
With
Bytes
ends
With
Str
same
Size
Type aliases
Check
Function
Check
Function
:
(
path
:
string
)
=>
Promise
<
CheckResult
>
Type declaration
(
path
:
string
)
:
Promise
<
CheckResult
>
Parameters
path:
string
Returns
Promise
<
CheckResult
>
Check
Name
Check
Name
:
"editTime"
|
"endsWithBytes"
|
"endsWithStr"
|
"sameSize"
Check
Result
Check
Result
:
{
isReady
:
boolean
}
&
EditTimeResult
|
EndsWithBytesResult
|
EndsWithStrResult
|
SameSizeResult
Functions
default
default
(
path
:
string
, checks
:
CheckFunction
[]
|
CheckFunction
)
:
Promise
<
{
checks
:
CheckResult
[]
;
isReady
:
boolean
}
>
Parameters
path:
string
checks:
CheckFunction
[]
|
CheckFunction
Returns
Promise
<
{
checks
:
CheckResult
[]
;
isReady
:
boolean
}
>
true - if my file is ready
edit
Time
edit
Time
(
referenceTime
:
Date
|
number
)
:
CheckFunction
Parameters
referenceTime:
Date
|
number
Returns
CheckFunction
ends
With
Bytes
ends
With
Bytes
(
endBytes
:
ArrayLike
<
number
>
)
:
CheckFunction
Parameters
endBytes:
ArrayLike
<
number
>
Returns
CheckFunction
ends
With
Str
ends
With
Str
(
endsStr
:
string
)
:
CheckFunction
Parameters
endsStr:
string
Returns
CheckFunction
same
Size
same
Size
(
expectedSize
:
number
)
:
CheckFunction
Parameters
expectedSize:
number
Returns
CheckFunction
Exports
Check
Function
Check
Name
Check
Result
default
edit
Time
ends
With
Bytes
ends
With
Str
same
Size