components/flutterstart_validate/flutterstart_validate library

Project validation gates and protected-file verification.

Constants

validationCommands → const List<CommandRecord>

Functions

hashProtected(String projectRoot) Map<String, String>
isCachePath(String relativePath) bool
protectedViolations({required Map<String, String> before, required Map<String, String> after}) List<String>
runGates({required String projectRoot, ProcessRunner processRunner = const ProcessRunner(), Map<String, String>? environment, List<CommandRecord> commandsToRun = validationCommands}) Future<GateOutcome>
validateProject({required String projectRoot, List<CommandRecord> commands = gates.validationCommands, GateRunner? runGates, ProtectedHasher hashProtected = protected.hashProtected}) Future<ValidationOutcome>

Typedefs

GateRunner = Future<GateOutcome> Function()
ProtectedHasher = Map<String, String> Function(String projectRoot)