providers/atypical_plist.rb
# Apply the changelist to the items_hash hash and write it
# out to the Spotlight plist file.  Assumes that the ordered
# Params:
#   items_hash (Hash)
#   changelist (Hash)
Apply the changelist to the items_hash hash and write it
out to the Spotlight plist file.  Assumes that the ordered
Params:
items_hash (Hash)
changelist (Hash)
Apply the changelist to the items_hash hash and write it out to the Spotlight plist file . Assumes that the ordered Params : items_hash ( Hash ) changelist ( Hash )
def apply_spotlight_changelist(items_hash, changelist)
    do_log("apply_spotlight_items: items_hash is: #{items_hash}\n")
    changelist.each do | key, value |
        do_log("Changing key #{key} to #{value}\n")
        set_hash_value(items_hash, key, value)
    end
    do_log("apply_spotlight_items: items_hash is: #{items_hash}\n")
    write_spotlight_items(items_hash)
end
def apply_spotlight_changelist ( items_hash , changelist ) do_log ( "apply_spotlight_items: items_hash is: #{items_hash}\n" ) changelist . each do | key , value | do_log ( "Changing key #{key} to #{value}\n" ) set_hash_value ( items_hash , key , value ) end do_log ( "apply_spotlight_items: items_hash is: #{items_hash}\n" ) write_spotlight_items ( items_hash ) end
Apply the changelist to the items_hash hash and write it
out to the Spotlight plist file.
Apply the changelist to the items_hash hash and write it out to the Spotlight plist file .
items_hash
<not_specific>
changelist
<not_specific>