搜尋套件、儲存庫與 APP 分類

套件詳情v1.9.1

path

基於字串的路徑操作程式庫。所有您熟悉且喜愛的路徑操作,並對 Windows、POSIX(Linux 與 Mac OS X),以及 Web 提供穩固支援。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
1270萬
喜歡數
1740
Pub 分數
160

安裝套件

flutter pub add path

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

path 套件為 Dart 提供了一個強大且跨平台的解決方案,用於操作檔案與目錄路徑。它支援所有主要作業系統——包含 Windows、Linux、macOS 與 Web——確保在任何環境下行為一致。透過直覺的方法來連接、拆分、標準化與解析路徑,它簡化了檔案系統導航並提升程式碼的可移植性。該套件設計用於順暢處理邊界情況與平台特定的特殊問題。

適用情境

  • 跨平台檔案路徑操作
  • 建構可移植的 Dart 應用程式
  • 在Web應用程序中處理檔案系統操作
  • 解析相對路徑和絕對路徑
  • 解析和構造文件路徑

主要特色

  • 支援 Windows、POSIX 與 web 平台
  • 完整的路徑操作
  • 處理平台特定的路徑分隔符
  • 強大的標準化與解析
  • 輕量且無依賴

適合對象

  • Dart 開發人員建構多平台應用
  • 需要檔案系統路徑邏輯的工具
  • 基於網路的檔案處理工具
  • 具有檔案系統互動的 CLI 工具

使用建議

  • 不適用於低階層檔案 I/O
  • 不與實際檔案系統互動
  • 需要手動處理檔案存在性檢查
  • 僅限基於字串的路徑操作
  • 不支援符號連結的內建支援

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Overview

This repository is home to various Dart packages under the dart.dev publisher.

Packages

Package Description Issues Version
args Library for defining parsers for parsing raw command-line arguments into a set of options and values using GNU and POSIX style options. issues pub package
async Utility functions and classes related to the 'dart:async' library. issues pub package
characters String replacement with operations that are Unicode/grapheme cluster aware. issues pub package
collection Collections and utilities functions and classes related to collections. issues pub package
convert Utilities for converting between data representations. Provides a number of Sink, Codec, Decoder, and Encoder types. issues pub package
crypto Implementations of SHA, MD5, and HMAC cryptographic functions. issues pub package
fixnum Library for 32- and 64-bit signed fixed-width integers with consistent behavior between native and JS runtimes. issues pub package
lints Official Dart lint rules. Defines the 'core' and 'recommended' set of lints suggested by the Dart team. issues pub package
logging Provides APIs for debugging and error logging, similar to loggers in other languages, such as the Closure JS Logger and java.util.logging.Logger. issues pub package
os_detect Platform independent OS detection. issues pub package
path A string-based path manipulation library. issues pub package
platform A pluggable, mockable platform information abstraction for Dart. issues pub package
typed_data Utility functions and classes related to the dart:typed_data library. issues pub package

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

For additional information about contributing, see our contributing page.

所屬分類

原始碼儲存庫

使用此套件的專案

所在榜單