make Snapshot public
This commit is contained in:
parent
f643be2e99
commit
fd6883f28e
@ -292,7 +292,7 @@ impl Default for Header {
|
||||
}
|
||||
}
|
||||
|
||||
struct Snapshot<R> {
|
||||
pub struct Snapshot<R> {
|
||||
root: FilePointer<R>,
|
||||
map: Mmap,
|
||||
}
|
||||
@ -324,7 +324,7 @@ pub struct Reader<R> {
|
||||
}
|
||||
|
||||
impl<R> Reader<R> {
|
||||
fn get(&self) -> Arc<Snapshot<R>> {
|
||||
pub fn get(&self) -> Arc<Snapshot<R>> {
|
||||
self.state.get()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user