Preparing search index...
The search index is not available
@lzwme/fe-utils
@lzwme/fe-utils
index
isGitRepo
Function isGitRepo
isGitRepo
(
rootDir
?:
string
,
useCache
?:
boolean
)
:
boolean
判断给定的目录是否为一个 git 仓库
Parameters
rootDir
:
string
= ...
useCache
:
boolean
= true
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@lzwme/fe-utils
Loading...
判断给定的目录是否为一个 git 仓库