# File lib/cft.rb, line 122 def initialize(session, roots, resume=false) @session = session @lock = session.path(:pid) @roots = roots # All the directories we are watching, includes the trees rooted # at all the ROOTS @directories = {} @bases = {} @filters = FILTERS if resume @changes = Changes.new(session.path(:changes)).paths @log = File::open(session.path(:changes), "a") else @changes = {} @log = File::open(session.path(:changes), "w") end end