class Build::Files::Handle

def changed!

Inform the handle that it might have been modified.
def changed!
	# If @state.update! did not find any changes, don't invoke the callback:
	if @state.update!
		@block.call(@state)
	end
end

def commit!

def commit!
	@state.update!
end

def directories

def directories
	@state.files.roots
end

def initialize(monitor, files, &block)

def initialize(monitor, files, &block)
	@monitor = monitor
	@state = State.new(files)
	@block = block
end

def remove!

def remove!
	@monitor.delete(self)
end

def to_s

def to_s
	"\#<#{self.class} @state=#{@state} @block=#{@block}>"
end