replayWithTarFile method

Future<RequestResult<RawPlaybackResult>> replayWithTarFile(
  1. String path, {
  2. bool force = false,
  3. Duration? timeout,
})

Implementation

Future<RequestResult<RawPlaybackResult>> replayWithTarFile(String path,
    { bool force = false, Duration? timeout}) async {
  final data = await TarUtil.getRecordStreamWithTarPath(path);
  final dependencies = await TarUtil.resolveDependencies(path);

  return replay(data,
      force: force,
      dependencies: dependencies,
      timeout: timeout);
}