fuc-new/doc/node_modules/@vuepress/plugin-git/lib/node/utils/checkGitRepo.d.ts
hellcat 6adbc04d4b 1
2025-10-03 17:17:08 +08:00

11 lines
281 B
TypeScript

/**
* Check if the directory is likely a valid Git repository root or subdirectory
*
* 检查目录是否为有效的 Git 仓库根目录或子目录
*
* @param cwd The directory to check.
*
* 要检查的目录
*/
export declare const isGitRepo: (cwd: string) => boolean;