fs 2.0.0 copy "fs: ^2.0.0" to clipboard
fs: ^2.0.0 copied to clipboard

The cross-platform file system for Dart (and Flutter of course).

0
likes
60/ 160
pub points
34%
popularity

We analyzed this package 2 days ago, and awarded it 60 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://fs.tomaswrobel.dev/ was unreachable. Make sure that the website is reachable via HEAD requests.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

206 out of 243 API elements (84.8 %) have documentation comments.

Some symbols that are missing documentation: fs.html.Directory, fs.html.Directory.Directory, fs.html.Directory.Directory.fromUri, fs.html.Directory.create, fs.html.Directory.createSync.

10/10 points: Package has an example

failed
Platform support
0 / 20trigger folding of the section

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

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:fs/html.dart that imports:
  • dart:html
Package not compatible with platform iOS

Because:

  • package:fs/html.dart that imports:
  • dart:html
Package not compatible with platform Windows

Because:

  • package:fs/html.dart that imports:
  • dart:html
Package not compatible with platform Linux

Because:

  • package:fs/html.dart that imports:
  • dart:html
Package not compatible with platform macOS

Because:

  • package:fs/html.dart that imports:
  • dart:html
Package not compatible with platform Web

Because:

  • package:fs/io.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

ERROR: The class 'FileSystemEvent' can't be extended, implemented, or mixed in outside of its library because it's a sealed class.

lib/html.dart:243:34

    ╷
243 │ class FileSystemEvent implements uber.FileSystemEvent {
    │                                  ^^^^^^^^^^^^^^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
20 / 40trigger folding of the section

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

No dependencies.

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • INVALID_USE_OF_TYPE_OUTSIDE_LIBRARY - lib/html.dart:243:34 - The class 'FileSystemEvent' can't be extended, implemented, or mixed in outside of its library because it's a sealed class.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.12, Dart 3.5.2.

Check the analysis log for details.

0
likes
60
pub points
34%
popularity

Publisher

verified publishertomaswrobel.dev

The cross-platform file system for Dart (and Flutter of course).

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on fs