패키지, 저장소 및 앱 카테고리 검색

패키지 상세v1.9.1

path

문자열 기반의 경로 조작 라이브러리입니다. Windows, POSIX(리눅스 및 맥 OS X), 웹을 모두 잘 지원하는, 여러분이 알고 사랑하는 모든 경로 작업을 제공합니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
1270만
좋아요
1.7천
Pub 점수
160

패키지 설치

flutter pub add path

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

path 패키지는 Dart에서 파일 및 디렉터리 경로를 조작하기 위한 강력하고 크로스 플랫폼 솔루션을 제공합니다. Windows, Linux, macOS, 웹을 포함한 모든 주요 운영 체제를 지원하여 환경에 관계없이 일관된 동작을 보장합니다. 경로를 결합하고, 분할하며, 정규화하고, 해결하는 직관적인 메서드를 통해 파일 시스템 탐색을 단순화하고 코드의 이식성을 향상시킵니다. 라이브러리는 에지 케이스와 플랫폼별 특수 사항을 원활하게 처리하도록 설계되었습니다.

사용 사례

  • 크로스 플랫폼 파일 경로 조작
  • 포터블 Dart 애플리케이션 빌드
  • 웹 앱에서 파일 시스템 작업 처리
  • 상대 경로와 절대 경로 해결
  • 파일 경로 파싱 및 구성

주요 기능

  • Windows, POSIX 및 웹 플랫폼을 지원합니다
  • 포괄적인 경로 작업
  • 플랫폼별 경로 구분자 처리
  • 강력한 정규화 및 해결
  • 경량이며 종속성 없음

적합한 대상

  • 다중 플랫폼 앱을 구축하는 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.

카테고리

소스 저장소

이 패키지를 사용하는 프로젝트

순위