Package.findPackageFile

Searches the given directory for package recipe files.

class Package
static
Path
findPackageFile
()

Parameters

directory Path

The directory to search

Return Value

Type: Path

Returns the full path to the package file, if any was found. Otherwise returns an empty path.

Meta