Show More
@@ -40,7 +40,7 b' fn create(index: &Index, path: &Path) ->' | |||
|
40 | 40 | nm.insert(index, index.node(rev).unwrap(), rev).unwrap(); |
|
41 | 41 | } |
|
42 | 42 | eprintln!("Nodemap constructed in RAM in {:?}", start.elapsed()); |
|
43 | file.write(&nm.into_readonly_and_added_bytes().1)?; | |
|
43 | file.write_all(&nm.into_readonly_and_added_bytes().1)?; | |
|
44 | 44 | eprintln!("Nodemap written to disk"); |
|
45 | 45 | Ok(()) |
|
46 | 46 | } |
General Comments 0
You need to be logged in to leave comments.
Login now