Compass helpers for node platforms
    Preparing search index...

    Function isFileOrFolderExists

    • Parameters

      • p: string

        文件或文件夹路径

      • mode: number = constants.F_OK

        访问模式,默认检查是否存在

      Returns Promise<boolean>

      是否存在

      检查路径下文件或文件夹是否存在(异步版本)