file 6.0.0-nullsafety.4 icon indicating copy to clipboard operation
file: ^6.0.0-nullsafety.4 copied to clipboard

A pluggable, mockable file system abstraction for Dart. Supports local file system access, as well as in-memory file systems, record-replay file systems, and chroot file systems.

141
likes
110/ 120
pub points
100%
popularity

We analyzed this package 6 days ago, and awarded it 110 pub points (of a possible 120):

icon indicating section status
Follow Dart file conventions
20 / 20icon to trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

icon indicating section status
Provide documentation
10 / 10icon to trigger folding of the section

10/10 points: Package has an example

icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:file/file.dart that imports:
  • package:file/src/interface.dart that imports:
  • package:file/src/io.dart that imports:
  • dart:io
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

INFO: The import of 'package:file/src/forwarding.dart' is unnecessary because all of the used elements are also provided by the import of 'package:file/file.dart'.

lib/src/backends/chroot.dart:12:8

   ╷
12 │ import 'package:file/src/forwarding.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/backends/chroot.dart

INFO: The import of 'package:file/src/forwarding.dart' is unnecessary because all of the used elements are also provided by the import of 'package:file/file.dart'.

lib/src/backends/local/local_directory.dart:6:8

  ╷
6 │ import 'package:file/src/forwarding.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/backends/local/local_directory.dart

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
meta^1.3.0-nullsafety.61.8.01.8.0
path^1.8.0-nullsafety.31.8.21.8.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.12, Dart 2.17.1.

141
likes
110
pub points
100%
popularity

Publisher

unverified uploader

A pluggable, mockable file system abstraction for Dart. Supports local file system access, as well as in-memory file systems, record-replay file systems, and chroot file systems.

Repository (GitHub)
View/report issues

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

meta, path

More

Packages that depend on file