Add doc for Vfs

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-06-21 13:38:24 +10:00
parent 784a24577b
commit 5d79af545b
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -6,6 +6,9 @@ use cargo_toml::AbstractFilesystem;
use crate::helpers::PathExt; use crate::helpers::PathExt;
/// This type stores the filesystem structure for the crate tarball
/// extracted in memory and can be passed to
/// `cargo_toml::Manifest::complete_from_abstract_filesystem`.
#[derive(Debug)] #[derive(Debug)]
pub(super) struct Vfs(HashMap<Box<Path>, HashSet<Box<str>>>); pub(super) struct Vfs(HashMap<Box<Path>, HashSet<Box<str>>>);