From 05e1fd4a9eefb021db967b956d03e2cabf32d7e0 Mon Sep 17 00:00:00 2001 From: wasm-forge <122647775+wasm-forge@users.noreply.github.com> Date: Sun, 1 Sep 2024 09:50:41 +0200 Subject: [PATCH] clean-up api --- src/fs.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fs.rs b/src/fs.rs index 0832fe7..7f8f194 100644 --- a/src/fs.rs +++ b/src/fs.rs @@ -9,7 +9,7 @@ use crate::{ structure_helpers::{create_hard_link, find_node, rm_dir_entry}, }, storage::{ - types::{DirEntry, DirEntryIndex, FileSize, FileType, Metadata, Node}, + types::{DirEntry, DirEntryIndex, FileType, Metadata, Node}, Storage, }, }; @@ -19,6 +19,7 @@ pub use crate::runtime::fd::Fd; pub use crate::runtime::types::{ ChunkSize, ChunkType, DstBuf, DstIoVec, FdFlags, FdStat, OpenFlags, SrcBuf, SrcIoVec, Whence, }; +pub use crate::storage::types::FileSize; // The main class implementing the API to work with the file system. pub struct FileSystem {