You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
All: Added fs drivers and encryption service
This commit is contained in:
@ -191,4 +191,14 @@ function splitCommandString(command) {
|
||||
return args;
|
||||
}
|
||||
|
||||
module.exports = { removeDiacritics, escapeFilename, wrap, splitCommandString };
|
||||
function padLeft(string, length, padString) {
|
||||
if (!string) return '';
|
||||
|
||||
while (string.length < length) {
|
||||
string = padString + string;
|
||||
}
|
||||
|
||||
return string;
|
||||
}
|
||||
|
||||
module.exports = { removeDiacritics, escapeFilename, wrap, splitCommandString, padLeft };
|
Reference in New Issue
Block a user