diff options
Diffstat (limited to 'src/asset.cc')
| -rw-r--r-- | src/asset.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/asset.cc b/src/asset.cc index 60d3aab3..052f7328 100644 --- a/src/asset.cc +++ b/src/asset.cc @@ -145,3 +145,9 @@ Asset::set_file (boost::filesystem::path file) const _file = boost::filesystem::absolute (file); _hash = optional<string> (); } + +void +Asset::set_hash (string hash) +{ + _hash = hash; +} |
