mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 10:55:30 -04:00
Ignore caches
This commit is contained in:
parent
4409ed8f45
commit
0a90e3b333
@ -18,7 +18,7 @@ class Library
|
||||
def self.load_instance
|
||||
dir = Config.current.library_path
|
||||
return unless Dir.exists? dir
|
||||
instance_file_path = File.join path, "library.yml.zip"
|
||||
instance_file_path = File.join dir, "library.yml.zip"
|
||||
return unless File.exists? instance_file_path
|
||||
|
||||
zip_file = Compress::Zip::File.new instance_file_path
|
||||
@ -38,7 +38,7 @@ class Library
|
||||
|
||||
zip_file.close
|
||||
|
||||
scan
|
||||
Library.default.scan
|
||||
end
|
||||
|
||||
def initialize
|
||||
|
@ -10,9 +10,13 @@ class Title
|
||||
entry_cover_url_cache : Hash(String, String)?
|
||||
setter entry_cover_url_cache : Hash(String, String)?
|
||||
|
||||
@[YAML::Field(ignore: true)]
|
||||
@entry_display_name_cache : Hash(String, String)?
|
||||
@[YAML::Field(ignore: true)]
|
||||
@entry_cover_url_cache : Hash(String, String)?
|
||||
@[YAML::Field(ignore: true)]
|
||||
@cached_display_name : String?
|
||||
@[YAML::Field(ignore: true)]
|
||||
@cached_cover_url : String?
|
||||
|
||||
def initialize(@dir : String, @parent_id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user