anchor.diff:                  rmdir $tmpdir
               fi
               
  -            createGenerationSymlink $snapshotsPath/$hash
  +            createGenerationSymlink $hash
               ;;
           restore)
  -            determineLastSnapshot
  +            lastSnapshot=$(determineLastSnapshot)
           
               if [ "$lastSnapshot" != "" ]
               then
  -                cp $snapshotsPath/$lastSnapshot/state /var/db/${name}
  +                cp $lastSnapshot/state /var/db/${name}
               fi
               ;;
           collect-garbage)
  -            if [ -f $garbagePath ]
  +            if componentMarkedAsGarbage
               then
                   rm /var/db/${name}/state
                   rmdir /var/db/${name}
  
positive.code:     
      source ${dysnomia}/share/dysnomia/util
      
      determineComponentName "${name}"
      checkStateDir
      determineTypeIdentifier "wrapper"
      determineContainerName $3
      composeSnapshotsPath
      composeGarbagePath
      composeGenerationsPath
      
      case "$1" in
          activate)
              if [ ! -d /var/db/${name} ]
  
negative.code:             hash=$(cat state | sha256sum)
              hash=''${hash:0:64}
              
              snapshotsPath=$(composeSnapshotsPath)
              
              if [ -d $snapshotsPath/$hash ]
              then
                  rm -Rf $tmpdir
  