writeConfigDir
writeConfigDir(
options):Promise<string[]>
Defined in: cli/datapad/src/write-config-dir/write-config-dir.ts:14
Write the files fetched from a config directory (.holocron/…) into the sandbox beside the config, keeping each
relative path, so loadConfigDir finds them and an area file that imports a sibling resolves it. Creates the
sub-directories as needed and returns the absolute paths written. Throws ConfigFileError for a path that is
absolute or leaves dir, because the paths come from a remote tree and must never write outside the sandbox; it
checks every path before it writes any.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Promise<string[]>