@salesforce/packaging
    Preparing search index...

    Function isPackageDirectoryEffectivelyEmpty

    • Brand new SFDX projects contain a force-app directory tree containing empty folders and a few .eslintrc.json files. We still want to consider such a directory tree as 'empty' for the sake of operations like downloading package version metadata.

      Parameters

      • directory: string

        The absolute path to a directory

      Returns boolean

      true if the directory contains nothing except empty directories or directories containing only an .eslintrc.json file.