Dart Use Path Package

dart-lang/skills/skills/dart-use-path-package

by dart-lang0d9f1c4a0ae29d6f5180bf6143d7997ec3bacf49No license515 starsListed Oct 9, 2026Updated Oct 9, 2026Repository updated 10 days ago

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.

Instructions onlySoftware Development

Only the file list is public. File contents are available once the skill is installed in a workspace.

PathSizeType
examples/cross_platform_paths.dart1.8 KBtext/plain
examples/file_system_context.dart1 KBtext/plain
SKILL.md11 KBtext/markdown

Source and attribution

Source:dart-lang/skillsinskills/dart-use-path-packageat commit0d9f1c4

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal