Module inspect

Module inspect 

Source
Expand description

inspect generates metadata reports on makefiles.

Structs§

Metadata
Metadata collects information about a file path regarding its candidacy as a potential POSIX makefile.

Statics§

LOWER_FILENAMES_TO_IMPLEMENTATIONS
LOWER_FILENAMES_TO_IMPLEMENTATIONS maps common filenames to make implementation flavors.
LOWER_FILENAMES_TO_PARENT_BUILD_SYSTEMS
LOWER_FILENAMES_TO_PARENT_BUILD_SYSTEMS maps common filenames to build systems that may generate makefiles as intermediate build artifacts.
LOWER_FILE_EXTENSIONS_TO_IMPLEMENTATIONS
LOWER_FILE_EXTENSIONS_TO_IMPLEMENTATIONS maps common file extensions to make implementation flavors.
LOWER_INCLUDE_FILENAME_PATTERN
LOWER_INCLUDE_FILENAME_PATTERN matches common filenames for makefiles intended for inclusion into other makefiles.

Functions§

analyze
metadata summaries high level attributes of a file path, such as whether the file path appears to represent a conventional makefile, whether the makefile is likely to use extensions beyond pure POSIX, and whether the makefile is likely to be machine generated.