MCPcopy Create free account
hub / github.com/error311/FileRise / formatFolderPathForToast

Function formatFolderPathForToast

public/js/fileDragDrop.js:29–32  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

27}
28
29function formatFolderPathForToast(path) {
30 const key = normalizeFolderToastKey(path);
31 return key === 'root' ? (t('root_folder') || 'Root') : key;
32}
33
34function movedFolderNameForToast(path) {
35 const key = normalizeFolderToastKey(path);

Callers 1

Calls 2

tFunction · 0.85
normalizeFolderToastKeyFunction · 0.70

Tested by

no test coverage detected