summaryrefslogtreecommitdiff
path: root/lib/Ultramarine/Model/DB.pm6
blob: 8b034ca3caecd1996654bbda591cca9346a5efb4 (plain)
1
2
3
4
5
6
7
8
9
10
use v6.d.PREVIEW;
 
role Ultramarine::Model::DB {
    method seen-file(:$path) { ... }
    method remove-unseen-files() { ... }
 
    method is-up-to-date(:$path,:$mtime --> Bool{ ... }
    method ensure-song(:$path,:$mtime,:%metadata{ ... }
    method ensure-file-absent(:$path) { ... }
}