Class | Nanoc::ChecksumStore |
In: |
lib/nanoc/base/compilation/checksum_store.rb
|
Parent: | ::Nanoc::Store |
Stores checksums for objects in order to be able to detect whether a file has changed since the last site compilation.
@api private
Returns the old checksum for the given object. This makes sense for items, layouts and code snippets.
@param [reference] obj The object for which to fetch the checksum
@return [String] The checksum for the given object
Sets the checksum for the given object.
@param [reference] obj The object for which to set the checksum
@param [String] checksum The checksum