Revision control
Copy as Markdown
Other Tools
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
const lazy = {};
ChromeUtils.defineESModuleGetters(lazy, {
});
export const FolderPaneUtils = {
/**
* Creates an identifier unique for the given mode name and folder URI.
*
* @param {string} modeName
* @param {string} uri
* @returns {string}
*/
makeRowID(modeName, uri) {
return `${modeName}-${btoa(lazy.MailStringUtils.stringToByteString(uri))}`;
},
};