mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-06 20:58:28 +00:00
Update lib/cache/src/filesystem.rs
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
This commit is contained in:
2
lib/cache/src/filesystem.rs
vendored
2
lib/cache/src/filesystem.rs
vendored
@@ -22,7 +22,7 @@ use wasmer::{DeserializeError, Module, SerializeError, Store};
|
||||
/// let mut fs_cache = FileSystemCache::new("some/directory/goes/here")?;
|
||||
///
|
||||
/// // Compute a key for a given WebAssembly binary
|
||||
/// let hash = Hash::generate(key);
|
||||
/// let hash = Hash::generate(bytes);
|
||||
///
|
||||
/// // Store a module into the cache given a key
|
||||
/// fs_cache.store(key, module.clone())?;
|
||||
|
||||
Reference in New Issue
Block a user