tidy
This commit is contained in:
1 parent
4d6fe96a93
commit
a8b407e414
1 file changed
+3
-2
+3
-2
@@ -57,8 +57,9 @@ const PAGE_SIZE: u16 = 4096;
|
||||
|
||||
impl Database {
|
||||
pub fn export(self, path: &Path) -> Result<(), binrw::Error> {
|
||||
let pages = Page::from_rows(PageType::Tracks, 1, PAGE_SIZE, self.tracks.values().cloned().map(Row::Track))?;
|
||||
println!("{:?}", pages);
|
||||
let pages = Table::from_rows(PageType::Tracks, 1, PAGE_SIZE, self.tracks.values().cloned().map(Row::Track))?;
|
||||
println!("{:?}", pages.len());
|
||||
println!("{:?}", pages.last());
|
||||
Ok(())
|
||||
}
|
||||
// pub fn export(self, path: &Path) -> std::io::Result<()> {
|
||||
|
||||
Reference in new issue
Block a user