Dart Use Path Package

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

作者 dart-lang0d9f1c4a0ae29d6f5180bf6143d7997ec3bacf49無授權條款515 個星標收錄於 2026年10月9日更新於 2026年10月9日儲存庫10 天前更新

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.

僅公開檔案列表。將技能安裝到工作區後即可檢視檔案內容。

路徑大小類型
examples/cross_platform_paths.dart1.8 KBtext/plain
examples/file_system_context.dart1 KBtext/plain
SKILL.md11 KBtext/markdown

來源與署名

來源:dart-lang/skills位於skills/dart-use-path-package提交0d9f1c4

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架