get method

Future<RadarrFileSystem> get({
  1. String? path,
  2. bool? allowFoldersWithoutTrailingSlashes,
  3. bool? includeFiles,
})

Handler for filesystem.

Returns a list of directories and files in the supplied path. If no path is supplied, fetches the root directory of the OS.

  • path: The full path on the filesystem
  • allowFoldersWithoutTrailingSlashes: Go into a folders without trailing slashes
  • includeFiles: Include files in the folder (defaulted to false)

Implementation

Future<RadarrFileSystem> get({
  String? path,
  bool? allowFoldersWithoutTrailingSlashes,
  bool? includeFiles,
}) async => _commandGetFileSystem(
  _client,
  path: path,
  allowFoldersWithoutTrailingSlashes: allowFoldersWithoutTrailingSlashes,
  includeFiles: includeFiles,
);