For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /reference/sdk/node/config/functions/configDir.md.
  • 简体中文
  • Function: configDir()

    function configDir(runtimeRoot: string): string;

    Defined in: node/config/index.ts:321

    获取配置文件存放目录路径(<runtimeRoot>/configs)。

    Parameters

    ParameterTypeDescription
    runtimeRootstring运行时根目录。

    Returns

    string

    配置目录绝对路径。