qubit-fs 0.3.2

Provider-neutral synchronous and asynchronous filesystem abstraction for Rust
Documentation
// =============================================================================
//    Copyright (c) 2026 Haixing Hu.
//
//    SPDX-License-Identifier: Apache-2.0
//
//    Licensed under the Apache License, Version 2.0.
// =============================================================================
//! Filesystem result type alias.

use super::fs_error::FsError;

/// Result type used by filesystem APIs.
///
/// # Type Parameters
///
/// - `T`: Success value returned by an operation; failures are represented by
///   [`FsError`].
///
/// # Examples
///
/// ```
/// use qubit_fs::Path;
/// use qubit_fs::error::FsResult;
///
/// fn load_root() -> FsResult<Path> {
///     Path::parse("/")
/// }
/// assert!(load_root().is_ok());
/// ```
pub type FsResult<T> = Result<T, FsError>;