Dart Use Path Package

作者 flutter0ef3972f93e2無授權條款3K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫2 天前更新

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

來源與署名

來源:flutter/agent-plugins位於skills/dart-use-path-package提交0ef3972

授權條款: 無授權條款

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

檢舉或申請下架