mirror of https://github.com/dswd/zvault
Better chunk list storage in inodes
This commit is contained in:
parent
519ac6bade
commit
5377c5f8df
|
@ -88,8 +88,8 @@ pub enum FileContents {
|
||||||
}
|
}
|
||||||
serde_impl!(FileContents(u8) {
|
serde_impl!(FileContents(u8) {
|
||||||
Inline(ByteBuf) => 0,
|
Inline(ByteBuf) => 0,
|
||||||
ChunkedDirect(Vec<Chunk>) => 1,
|
ChunkedDirect(ChunkList) => 1,
|
||||||
ChunkedIndirect(Vec<Chunk>) => 2
|
ChunkedIndirect(ChunkList) => 2
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue