putFileContent method

Future<bool> putFileContent(
  1. String filePath,
  2. String content, {
  3. bool sudo = false,
  4. bool append = false,
})

Save the file filePath with content, inside this container.

Implementation

Future<bool> putFileContent(String filePath, String content,
        {bool sudo = false, bool append = false}) async =>
    DockerCMD.putFileContent(runner.dockerHost, name, filePath, content,
        sudo: sudo, append: append);