pub fn create_tarball(project_dir: &Path) -> Result<Vec<u8>, PackageError>Expand description
Create a gzipped tarball from a LOGOS project.
Packages the project for upload to the registry. The tarball includes:
Largo.toml(required)src/directory recursively (required)README.md(if present)LICENSE(if present)
Hidden files (starting with .) and the target/ directory are excluded.
Only .lg, .md, .toml, and .json files are included from src/.
§Arguments
project_dir- Root directory of the LOGOS project
§Errors
Returns PackageError::MissingFile if Largo.toml or src/ is missing.