Skip to content

Commit

Permalink
Merge pull request #418 from CosmWasm/snapshot-item-2
Browse files Browse the repository at this point in the history
Snapshot item follow-up.
  • Loading branch information
maurolacy authored Sep 14, 2021
2 parents 236a9db + 251269b commit 9d0dfff
Show file tree
Hide file tree
Showing 6 changed files with 394 additions and 176 deletions.
2 changes: 1 addition & 1 deletion packages/storage-plus/src/indexed_snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use serde::Serialize;

use crate::keys::{EmptyPrefix, Prefixer, PrimaryKey};
use crate::prefix::{Bound, Prefix};
use crate::snapshot_map::SnapshotMap;
use crate::snapshot::SnapshotMap;
use crate::{IndexList, Path, Strategy};

/// IndexedSnapshotMap works like a SnapshotMap but has a secondary index
Expand Down
7 changes: 2 additions & 5 deletions packages/storage-plus/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ mod map;
mod path;
mod prefix;
mod snapshot;
mod snapshot_item;
mod snapshot_map;

pub use endian::Endian;
#[cfg(feature = "iterator")]
Expand All @@ -29,7 +27,6 @@ pub use map::Map;
pub use path::Path;
#[cfg(feature = "iterator")]
pub use prefix::{range_with_prefix, Bound, Prefix};
pub use snapshot::Strategy;
pub use snapshot_item::SnapshotItem;
#[cfg(feature = "iterator")]
pub use snapshot_map::SnapshotMap;
pub use snapshot::SnapshotMap;
pub use snapshot::{SnapshotItem, Strategy};
170 changes: 0 additions & 170 deletions packages/storage-plus/src/snapshot.rs

This file was deleted.

File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 9d0dfff

Please sign in to comment.