awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
mxcl avatar

mxcl/Path.swift

0
View on GitHub↗
959 stars·41 forks·Swift·Unlicense·14 views

Path.swift

Path.swift is a type-safe file system library for Swift that replaces error-prone string manipulation with structured path objects. It provides a unified, chainable interface for constructing, transforming, and managing file system paths, ensuring that path validity is maintained throughout an application's lifecycle.

The library distinguishes itself by using value-type data modeling and dynamic member lookup to provide an intuitive, readable syntax for navigating directory structures. It handles complex file system tasks by mapping operations directly to underlying system calls, ensuring consistent behavior across different operating systems. Furthermore, it supports lazy resolution of symbolic links and relative segments, ensuring that file references remain accurate even when paths are manipulated or moved.

Beyond basic path handling, the library includes comprehensive tools for directory management, file metadata updates, and persistent configuration support. It provides a robust set of operations for creating, moving, and deleting files, while also offering serialization utilities to encode and decode paths for portable project configurations.

Features

  • Swift File System Utilities - Simplifies file system interactions through a type-safe and chainable interface for Swift applications.
  • Path Abstractions - Encapsulates raw file system strings into strongly typed objects to prevent concatenation errors.
  • Cross-Platform Path Handling - Standardizes file path manipulation across different operating systems to ensure consistent behavior.
  • File System Operations - Provides a reliable interface for moving, deleting, and updating file system metadata.
  • Directory Content Listings - Retrieves file system entries using non-recursive listing or recursive search patterns.
  • Path Creation - Enables creation of path instances from strings with explicit absolute and relative path handling.
  • Configuration Persistence - Encodes and decodes file paths into standard formats to support portable project configurations.
  • File Storage and Metadata Management - Allows retrieval and updates of file attributes such as permissions, timestamps, and ownership.
  • Cross-Platform Path Manipulation - Provides a robust interface for handling file paths across platforms to prevent string-based errors.
  • Path Construction Utilities - Provides a chainable and type-safe syntax for constructing file system paths.
  • Lazy Path Resolutions - Defers evaluation of symbolic links and relative segments to maintain accurate file references.
  • File System Utilities - Provides a type-safe and chainable utility for constructing and managing file system paths.
  • Path Format Transformers - Offers a type-safe, chainable interface for transforming file system paths.
  • System Call Wrappers - Maps high-level path operations directly to underlying system calls for consistent cross-platform behavior.
  • Member Lookups - Provides intuitive access to path components using dynamic member lookup syntax.
  • Fluent Interfaces - Organizes file system operations into a readable, sequential fluent interface.
  • Path Modeling - Uses immutable structures to represent file system locations for thread safety and predictability.
  • Path Serialization Utilities - The library encodes and decodes file paths into standard data formats to support persistent storage and configuration while maintaining relative path flexibility for project portability.
  • Swift Development Tooling - Simplifies file system interactions through expressive and reliable path-based abstractions for Swift developers.
  • Symbolic Link Resolution - Provides automatic resolution of symbolic links to their actual targets, ensuring file references remain accurate during path manipulation.

Star history

Star history chart for mxcl/path.swiftStar history chart for mxcl/path.swift

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Path.swift

Similar open-source projects, ranked by how many features they share with Path.swift.
  • apple/swift-systemapple avatar

    apple/swift-system

    1,396View on GitHub↗

    Swift System is a low-level library that provides safe, idiomatic abstractions for operating system calls and file path manipulation. It serves as a programming interface wrapping native operating system calls and platform types for reliable desktop and mobile integration. The library enforces strict separation of incompatible string types at compile time by wrapping raw values in domain-specific structures, preventing the mixing of system paths with arbitrary text. It translates raw numeric operating system error codes into strongly typed enumeration cases and manages system handles and file

    Swiftfile-descriptorfile-pathposix
    View on GitHub↗1,396
  • square/okiosquare avatar

    square/okio

    8,986View on GitHub↗

    Okio is a Java I/O library providing a set of tools for efficient byte-stream processing and file system operations. It functions as a buffered byte stream handler and streaming data transformer, utilizing a cross-platform file system API to manage data movement. The project is distinguished by its use of pooled mutable byte buffers that treat sequences as queues to reduce memory copying and garbage collection churn. It further decouples file operations from the host operating system through an abstraction-based file system, allowing for consistent path manipulation and atomic operations acro

    Kotlinkotlinkotlin-multiplatform
    View on GitHub↗8,986
  • winfsp/winfspwinfsp avatar

    winfsp/winfsp

    8,687View on GitHub↗

    WinFSP is a framework for implementing custom file systems on Windows. It enables the creation of user-mode file systems that appear as standard disk drives or network shares to the operating system, allowing developers to implement file system logic in user space via a proxy architecture that avoids the need for custom kernel code. A primary differentiator is its FUSE compatibility layer, which maps POSIX-based file system calls to native Windows requests. This allows existing file systems written for the FUSE API to be ported to Windows and Cygwin environments. The project covers a wide ra

    Cdriverfilesystemfuse
    View on GitHub↗8,687
  • wslutilities/wsluwslutilities avatar

    wslutilities/wslu

    3,750View on GitHub↗

    wslu is a collection of integration tools and command-line utilities designed to manage the interaction between the Windows Subsystem for Linux and the Windows host. It provides a suite of tools for path translation, host interop, and system maintenance to bridge the gap between the Linux shell and the host operating system. The project enables the launching of host applications and the creation of Windows desktop shortcuts to trigger Linux commands. It features a programmable interface for executing system tasks, accessing host environment variables, and integrating with the Windows clipboar

    Shellalpine-linuxarch-linuxbash
    View on GitHub↗3,750
See all 30 alternatives to Path.swift→

Frequently asked questions

What does mxcl/path.swift do?

Path.swift is a type-safe file system library for Swift that replaces error-prone string manipulation with structured path objects. It provides a unified, chainable interface for constructing, transforming, and managing file system paths, ensuring that path validity is maintained throughout an application's lifecycle.

What are the main features of mxcl/path.swift?

The main features of mxcl/path.swift are: Swift File System Utilities, Path Abstractions, Cross-Platform Path Handling, File System Operations, Directory Content Listings, Path Creation, Configuration Persistence, File Storage and Metadata Management.

What are some open-source alternatives to mxcl/path.swift?

Open-source alternatives to mxcl/path.swift include: apple/swift-system — Swift System is a low-level library that provides safe, idiomatic abstractions for operating system calls and file… square/okio — Okio is a Java I/O library providing a set of tools for efficient byte-stream processing and file system operations.… winfsp/winfsp — WinFSP is a framework for implementing custom file systems on Windows. It enables the creation of user-mode file… wslutilities/wslu — wslu is a collection of integration tools and command-line utilities designed to manage the interaction between the… rust-lang/rust-by-example — This project is an interactive programming education resource and tutorial designed for learning the Rust programming… redox-os/redox — Redox is a POSIX-compliant, microkernel-based operating system written entirely in Rust. By utilizing a memory-safe…

Curated searches featuring Path.swift

Hand-picked collections where Path.swift appears.
  • Path resolution utilities