Examine titles and recycle them

This commit is contained in:
Leeingnyo
2021-09-11 13:30:07 +09:00
parent 0a90e3b333
commit eb3e37b950
2 changed files with 13 additions and 1 deletions

View File

@@ -69,6 +69,12 @@ class Title
end
end
def examine : Bool
return false unless Dir.exists? @dir
signature = Dir.signature @dir
return @signature == signature
end
def to_slim_json : String
JSON.build do |json|
json.object do