function getParentPath()

in www/browser/FileTransfer.js [27:30]


function getParentPath (filePath) {
    const pos = filePath.lastIndexOf('/');
    return filePath.substring(0, pos + 1);
}