mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Naming tweak to #6047
@linonetwo I realised on review that we refer to boot.files as the "tiddler file info"
This commit is contained in:
parent
f9604c40d3
commit
3f478f5689
@ -140,7 +140,7 @@ FileSystemAdaptor.prototype.deleteTiddler = function(title,callback,options) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Remove the tiddler from self.boot.files & return null adaptorInfo
|
// Remove the tiddler from self.boot.files & return null adaptorInfo
|
||||||
self.deleteTiddlerInCache(title);
|
self.removeTiddlerFileInfo(title);
|
||||||
return callback(null,null);
|
return callback(null,null);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@ -151,8 +151,8 @@ FileSystemAdaptor.prototype.deleteTiddler = function(title,callback,options) {
|
|||||||
/*
|
/*
|
||||||
Delete a tiddler in cache, without modifying file system.
|
Delete a tiddler in cache, without modifying file system.
|
||||||
*/
|
*/
|
||||||
FileSystemAdaptor.prototype.deleteTiddlerInCache = function(title) {
|
FileSystemAdaptor.prototype.removeTiddlerFileInfo = function(title) {
|
||||||
// Only delete the tiddler if we have writable information for the file
|
// Only delete the tiddler info if we have writable information for the file
|
||||||
if(this.boot.files[title]) {
|
if(this.boot.files[title]) {
|
||||||
delete this.boot.files[title];
|
delete this.boot.files[title];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user