Method: FieldMatter::StrangeMatter#update

Defined in:
lib/fieldmatter/strangematter.rb

#updateObject



18
19
20
21
22
23
24
25
26
27
28
29
# File 'lib/fieldmatter/strangematter.rb', line 18

def update
  changes = self.repo.status.changed        # Determine files/objects in the git repo that have been flagged for update
  
  changes.delete(".gitignore")              # Any non-tagged/tag-important files that aren't ignored in .gitignore or info/exclude 
  changes.delete("fieldmatter.json")        # are potential problems/waste of database space. This will delete them if they turn up.
  
  changes.keys.each do |file|               # for each file that has changed
    self.mdluvin( file )                    # show these files some mdluvin; aka get a list of extended attribute openmeta tags from mdls.
  end
  
  self.write_to_json                                        
end