• This function finds the package directory in the project that matches the given packageId

    Parameters

    • project: undefined | SfProject

      The SfProject instance to search

    • packageId: string

      The package ID to match against

    Returns Optional<NamedPackageDir>

    A NamedPackageDir or empty object if not found