maclarian 0.1.3

Larian file format library for Baldur's Gate 3 - PAK, LSF, LSX, GR2, DDS, and more
Documentation
1
2
3
4
5
6
7
8
9
//! PAK creation functionality

pub use super::pak_tools::PakOperations;

/// # Errors
/// Returns an error if PAK creation fails.
pub fn create_pak<P: AsRef<std::path::Path>>(source: P, pak: P) -> crate::error::Result<()> {
    PakOperations::create(source, pak)
}