KC's Workspace
Github
Preparing search index...
@kcconfigs/vitest
<internal>
ResultsCache
Class ResultsCache
Index
Constructors
constructor
Methods
clear
Cache
get
Cache
Path
get
Results
read
From
Cache
remove
From
Cache
set
Config
update
Results
write
To
Cache
Constructors
constructor
new
ResultsCache
(
logger
:
Logger
)
:
ResultsCache
Parameters
logger
:
Logger
Returns
ResultsCache
Methods
clear
Cache
clearCache
()
:
Promise
<
void
>
Returns
Promise
<
void
>
get
Cache
Path
getCachePath
()
:
string
|
null
Returns
string
|
null
get
Results
getResults
(
key
:
string
)
:
SuiteResultCache
|
undefined
Parameters
key
:
string
Returns
SuiteResultCache
|
undefined
read
From
Cache
readFromCache
()
:
Promise
<
void
>
Returns
Promise
<
void
>
remove
From
Cache
removeFromCache
(
filepath
:
string
)
:
void
Parameters
filepath
:
string
Returns
void
set
Config
setConfig
(
root
:
string
,
config
:
false
|
{
dir
:
string
}
)
:
void
Parameters
root
:
string
config
:
false
|
{
dir
:
string
}
false
{
dir
:
string
}
dir
:
string
Deprecated
Returns
void
update
Results
updateResults
(
files
:
File
[]
)
:
void
Parameters
files
:
File
[]
Returns
void
write
To
Cache
writeToCache
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
External
Internal
Beta
Alpha
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
clear
Cache
get
Cache
Path
get
Results
read
From
Cache
remove
From
Cache
set
Config
update
Results
write
To
Cache
Github
KC's Workspace
Loading...
Deprecated