MCPcopy
hub / github.com/TiddlyWiki/TiddlyDesktop / areBackupsEnabledFn

Function areBackupsEnabledFn

source/js/wiki-file-window.js:86–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 var MutationObserver = this.window_nwjs.window.MutationObserver;
85 // Enable saving
86 var areBackupsEnabledFn = function() {
87 return $tw.wiki.getTiddlerText(self.getConfigTitle("disable-backups"),"no") !== "yes";
88 },
89 loadFileTextFn = function() {
90 return fs.readFileSync(self.pathname,"utf8");
91 };

Callers 1

saving.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected