# File lib/fusefs/sqlitemapper.rb, line 76
        def scan()
            db.execute(@sql) do |row|
                new_path, real_path, options =  map_row(row)
                options ||= {}
                options[:sqlite_scan_id] = @scan_id
                begin
                    map_file(new_path, real_path, options)
                rescue StandardError => e
                    puts e
                    puts e.backtrace.join("\n")
                end
            end
            cleanup() { |file_node| file_node.options[:sqlite_scan_id] != @scan_id }
        end