DependencyFinder class

A manager for detecting library dependencies in a Debian environment.

Constructors

DependencyFinder()

Properties

excludedArchitecture RegExp?
getter/setter pair
excludedLibs RegExp?
getter/setter pair
excludedPackages List<String>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
libDirectory String
final
libFiles Set<String>
final
preferredArchitecture String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

detect(List<String> files) Future<List<String>>
Detects the dependencies of a list of files.
error(String message) → void
Logs an error message.
executeResult(String command, List<String> arguments) Future<List<String>>
Executes an external command and returns the output lines.
findFiles(List<String> arguments) Future<List<String>>
Detects the list of library files to inspect from the program arguments.
findPackages() Future<List<String>>
Finds the packages referred from the files in libFiles.
getDependencies(String libFile) Future<void>
Detects the packages of the library file libFile.
log(String message) → void
Logs a message.
logStatus(String message) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepare({String? excludedLibs, String? excludedPackages}) Future<bool>
Fetches the needed info of the yaml file and the program arguments.
reduceDoubles(Iterable<String> packages) Future<List<String>>
Reduces the amount of dependencies: If a packages A is part of the dependencies of another package B it is enough to remember B.
run({String? excludedLibs, String? excludedPackages, List<String> fileArgs = const []}) Future<List<String>>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getArgParser() → ArgParser