Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export File System #431

Merged
merged 2 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions flutter_cache_manager/lib/flutter_cache_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ export 'src/logger.dart';
export 'src/result/result.dart';
export 'src/storage/cache_info_repositories/cache_info_repositories.dart';
export 'src/storage/cache_object.dart';
export 'src/storage/file_system/file_system.dart';
export 'src/web/file_service.dart';
export 'src/web/web_helper.dart' show HttpExceptionWithStatus;
1 change: 0 additions & 1 deletion flutter_cache_manager/lib/src/cache_store.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import 'dart:io';

import 'package:flutter_cache_manager/flutter_cache_manager.dart';
import 'dart:io' as io;
import 'package:flutter_cache_manager/src/storage/file_system/file_system.dart';

///Flutter Cache Manager
///Copyright (c) 2019 Rene Floor
Expand Down
2 changes: 0 additions & 2 deletions flutter_cache_manager/lib/src/config/_config_io.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'dart:io';

import 'package:flutter_cache_manager/flutter_cache_manager.dart';
import 'package:flutter_cache_manager/src/config/config.dart' as def;
import 'package:flutter_cache_manager/src/storage/file_system/file_system.dart';
import 'package:flutter_cache_manager/src/storage/file_system/file_system_io.dart';

class Config implements def.Config {
Config(
Expand Down
1 change: 0 additions & 1 deletion flutter_cache_manager/lib/src/config/_config_web.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import 'package:flutter_cache_manager/src/config/config.dart' as def;
import 'package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repository.dart';
import 'package:flutter_cache_manager/src/storage/cache_info_repositories/non_storing_object_provider.dart';
import 'package:flutter_cache_manager/src/storage/file_system/file_system.dart';
import 'package:flutter_cache_manager/src/storage/file_system/file_system_web.dart';
import 'package:flutter_cache_manager/src/web/file_service.dart';

class Config implements def.Config {
Expand Down
1 change: 0 additions & 1 deletion flutter_cache_manager/lib/src/config/config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import 'package:flutter_cache_manager/flutter_cache_manager.dart';
import 'package:flutter_cache_manager/src/config/_config_unsupported.dart'
if (dart.library.html) '_config_web.dart'
if (dart.library.io) '_config_io.dart' as impl;
import 'package:flutter_cache_manager/src/storage/file_system/file_system.dart';

abstract class Config {
/// Config file for the CacheManager.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
export 'file_system.dart';
export 'file_system_io.dart';
export 'file_system_web.dart';

import 'package:file/file.dart';

abstract class FileSystem {
Expand Down