use crate::sns::report::cache_paths::{
SnsCacheCollection, SnsSnapshotCachePaths, sns_attempt_path_for_cache_path,
sns_snapshot_network_cache_dir,
};
use std::path::{Path, PathBuf};
pub(super) type SnsProposalsCachePaths = SnsSnapshotCachePaths<SnsProposalsCacheCollection>;
#[derive(Clone, Debug, Eq, PartialEq)]
pub(super) enum SnsProposalsCacheCollection {}
impl SnsCacheCollection for SnsProposalsCacheCollection {
const COLLECTION: &'static str = "proposals";
}
pub(super) fn sns_network_cache_dir(icp_root: &Path, network: &str) -> PathBuf {
sns_snapshot_network_cache_dir(icp_root, network)
}
pub(super) fn attempt_path_for_cache_path(cache_path: &Path) -> PathBuf {
sns_attempt_path_for_cache_path(cache_path)
}