UnusedFilesAnalyzer class
The analyzer responsible for collecting unused files reports.
Constructors
- UnusedFilesAnalyzer([Logger? _logger])
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteAllUnusedFiles(
Iterable< UnusedFilesFileReport> reports) → void -
getReporter(
{required String name, required IOSink output}) → Reporter< UnusedFilesFileReport, UnusedFilesReportParams> ? -
Returns a reporter for the given
name
. Use the reporter to convert analysis reports to console, JSON or other supported format. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
runCliAnalysis(
Iterable< String> folders, String rootFolder, UnusedFilesConfig config, {String? sdkPath}) → Future<Iterable< UnusedFilesFileReport> > -
Returns a list of unused files reports
for analyzing all files in the given
folders
. The analysis is configured with theconfig
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited