File Module
Functions and values
| Function or value |
Description
|
Full Usage:
cachePath ()
Parameters:
unit
Returns: string
|
The pediatric formulary cache path, resolved on each call rather than at module initialisation, so it sees the process's final working directory and any GENPRES_ROOT set by a later Env.loadDotEnv (). Not memoized: this is a string concat over AppPath's already-lazy root.
|
Full Usage:
exists path
Parameters:
string
Returns: bool
|
|
Full Usage:
readAllLines path
Parameters:
string
Returns: string[]
|
|
Full Usage:
writeTextToFile path text
Parameters:
string
text : string
|
|
GenPRES