equal
deleted
inserted
replaced
523 store.find_database_heap(name) match { |
523 store.find_database_heap(name) match { |
524 case Some((database, heap_stamp)) => |
524 case Some((database, heap_stamp)) => |
525 using(SQLite.open_database(database))(store.read_build(_, name)) match { |
525 using(SQLite.open_database(database))(store.read_build(_, name)) match { |
526 case Some(build) => |
526 case Some(build) => |
527 val current = |
527 val current = |
|
528 build.return_code == 0 && |
528 build.sources == sources_stamp(name) && |
529 build.sources == sources_stamp(name) && |
529 build.input_heaps == ancestor_heaps && |
530 build.input_heaps == ancestor_heaps && |
530 build.output_heap == heap_stamp && |
531 build.output_heap == heap_stamp && |
531 !(do_output && heap_stamp.isEmpty) && |
532 !(do_output && heap_stamp.isEmpty) |
532 build.return_code == 0 |
|
533 (current, heap_stamp) |
533 (current, heap_stamp) |
534 case None => (false, None) |
534 case None => (false, None) |
535 } |
535 } |
536 case None => (false, None) |
536 case None => (false, None) |
537 } |
537 } |