fuse_backend_rs/api/mod.rs
1// Copyright (C) 2020 Alibaba Cloud. All rights reserved.
2// SPDX-License-Identifier: Apache-2.0
3
4//! Fuse Application Programming Interfaces(API).
5//!
6//! The Fuse application programming interfaces(API) layer is an intermediate layer
7//! between the transport layer and the backend file system drivers. It provides:
8//! - [struct Server](server/struct.Server.html) to receive requests from/send reply to the
9//! transport layer.
10//! - [trait FileSystem](filesystem/trait.FileSystem.html) for backend file system drivers to
11//! implement fs operations.
12//! - [struct Vfs](vfs/struct.Vfs.html), a simple union file system to help organize multiple
13//! backend file systems.
14
15mod pseudo_fs;
16
17pub mod vfs;
18pub use vfs::{
19 validate_path_component, BackFileSystem, BackendFileSystem, Vfs, VfsIndex, VfsOptions,
20 CURRENT_DIR_CSTR, EMPTY_CSTR, PARENT_DIR_CSTR, PROC_SELF_FD_CSTR, SLASH_ASCII, VFS_MAX_INO,
21};
22
23pub mod filesystem;
24pub mod server;