MCPcopy Create free account
hub / github.com/daisy/MathCAT / invalidate

Method invalidate

src/prefs.rs:285–288  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

283
284impl FileAndTime {
285 fn invalidate(&mut self) {
286 // just enough so that is_valid() will say that this does match a flushed out value
287 self.files[0] = None;
288 }
289
290 fn is_valid(&self) -> bool {
291 return self.files[0].is_some();

Callers 12

invalidate_old_prefsMethod · 0.45
find_simple_styleFunction · 0.45
find_unicode_filesFunction · 0.45
found_all_filesFunction · 0.45
file_found_orderFunction · 0.45
test_prefsFunction · 0.45
test_language_changeFunction · 0.45
test_speech_style_changeFunction · 0.45
test_some_changesFunction · 0.45
test_up_to_dateFunction · 0.45

Calls

no outgoing calls

Tested by 11

find_simple_styleFunction · 0.36
find_unicode_filesFunction · 0.36
found_all_filesFunction · 0.36
file_found_orderFunction · 0.36
test_prefsFunction · 0.36
test_language_changeFunction · 0.36
test_speech_style_changeFunction · 0.36
test_some_changesFunction · 0.36
test_up_to_dateFunction · 0.36