# File lib/nanoc3/base/item_rep.rb, line 336
    def snapshot(snapshot_name)
      target = self.binary? ? @filenames : @content
      target[snapshot_name] = target[:last]
    end