mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-01 19:02:22 +01:00
Add metadata information to cached assets
When saving/reading user-provided syntaxes or themes, `bat` will now maintain a `metadata.yaml` file which includes information about the `bat` version which was used to create the cached files. When loading cached files, we now print an error if they have been created with an incompatible version closes #882
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#![recursion_limit = "1024"]
|
||||
|
||||
pub(crate) mod assets;
|
||||
pub(crate) mod assets_metadata;
|
||||
pub mod config;
|
||||
pub(crate) mod controller;
|
||||
mod decorations;
|
||||
@@ -19,5 +20,6 @@ mod terminal;
|
||||
pub(crate) mod wrap;
|
||||
|
||||
pub use assets::HighlightingAssets;
|
||||
pub use assets_metadata::AssetsMetadata;
|
||||
pub use controller::Controller;
|
||||
pub use printer::{InteractivePrinter, Printer, SimplePrinter};
|
||||
|
Reference in New Issue
Block a user