package
3.16.1+incompatible
Repository: https://github.com/redhat-developer/odo.git
Documentation: pkg.go.dev

# Functions

DevfileFilenamesProvider checks if the context dir contains devfile with possible names from possibleDevfileNames variable, else it returns "devfile.yaml" as default value.
DevfileLocation returns path to devfile File with approprite devfile File name from possibleDevfileNames variable, if contextDir value is provided as argument then DevfileLocation returns devfile path else it assumes current dir as contextDir and returns appropriate value.
DirContainsOnlyDevfile returns true if the directory contains only one file which is a devfile with a supported name.
DirectoryContainsDevfile returns true if the given directory contains a devfile with a supported name.
DirIsEmpty returns true if the given directory contains no file.
IsDevfileName returns true if name is a supported name for a devfile.