ed013eb257
* Update C API to consume Read+Seek callbacks * remove open and close functions * update to reflect new interface * Refactor posix file i/o to c_api (#113) * Refactor posix file i/o to c_api * fix comment * rename ExternalFile to ReadSeek * cleanup and comments * Add SHOREBIRD_PATCH_BASE_FILENAME const * fix lint * add fake callbacks for c_api tests * fix tests * remove os_last_error * remove todos, add comments * cleanup * remove params to open * add c_api module, tests * reorganize * Return Err if CFileProvider open returns null * add comments and docs
13 lines
280 B
Rust
13 lines
280 B
Rust
mod disk_io;
|
|
mod patch_manager;
|
|
pub mod updater_state;
|
|
|
|
pub use updater_state::UpdaterState;
|
|
|
|
/// The public interface for talking about patches to the Cache.
|
|
#[derive(PartialEq, Eq, Debug, Clone)]
|
|
pub struct PatchInfo {
|
|
pub path: std::path::PathBuf,
|
|
pub number: usize,
|
|
}
|