execCat method

Future<String?> execCat(
  1. String filePath, {
  2. bool trim = false,
})

Call POSIX cat command. Calls exec with command cat and args filePath. Returns the executable path for filePath.

Implementation

Future<String?> execCat(String filePath, {bool trim = false}) async {
  return DockerCMD.execCat(runner.dockerHost, name, filePath, trim: trim);
}