From 3f478f5689d0a390651107de0bf5e8a2ea32e89a Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Sun, 5 Mar 2023 17:40:04 +0000 Subject: [PATCH] Naming tweak to #6047 @linonetwo I realised on review that we refer to boot.files as the "tiddler file info" --- plugins/tiddlywiki/filesystem/filesystemadaptor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/tiddlywiki/filesystem/filesystemadaptor.js b/plugins/tiddlywiki/filesystem/filesystemadaptor.js index 0692fb2fe..1779855df 100644 --- a/plugins/tiddlywiki/filesystem/filesystemadaptor.js +++ b/plugins/tiddlywiki/filesystem/filesystemadaptor.js @@ -140,7 +140,7 @@ FileSystemAdaptor.prototype.deleteTiddler = function(title,callback,options) { } } // Remove the tiddler from self.boot.files & return null adaptorInfo - self.deleteTiddlerInCache(title); + self.removeTiddlerFileInfo(title); return callback(null,null); }); } else { @@ -151,8 +151,8 @@ FileSystemAdaptor.prototype.deleteTiddler = function(title,callback,options) { /* Delete a tiddler in cache, without modifying file system. */ -FileSystemAdaptor.prototype.deleteTiddlerInCache = function(title) { - // Only delete the tiddler if we have writable information for the file +FileSystemAdaptor.prototype.removeTiddlerFileInfo = function(title) { + // Only delete the tiddler info if we have writable information for the file if(this.boot.files[title]) { delete this.boot.files[title]; };