dart-use-path-package
Cross-platform file and directory path manipulation, segment splitting, extension extraction, and context conversion using package:path and package:file. Use when writing, inspecting, joining, splitting, or refactoring file paths, directory names, or extensions, or replacing raw string path operations (.split('/'), '$dir/$file', .endsWith('.ext'), .replaceAll('\\', '/')). Don't use for HTTP network URI routing, database query strings, or non-path string processing.
Pinned to revision 4e8964e24a5a, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/dart-use-path-package/SKILL.md
- skills/dart-use-path-package/LICENSE
- skills/dart-use-path-package/examples/cross_platform_paths.dart
- skills/dart-use-path-package/examples/file_system_context.dart
Every link opens the file at its source, pinned to the revision this page describes.