swh-mosaic 0.3.1

MOdular Storage of Archived and Indexed Contents from Software Heritage
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (C) 2026  The Software Heritage developers
// See the AUTHORS file at the top-level directory of this distribution
// License: GNU General Public License version 3, or any later version
// See top-level LICENSE file for more information

use anyhow::Result;

use crate::creator;

pub fn max_object_size(tile_threshold: usize) -> Result<()> {
    let max_size = creator::max_object_size(tile_threshold as u64)?;
    println!("{}", max_size);
    Ok(())
}