Skip to content

Instantly share code, notes, and snippets.

@ichaer
ichaer / tellmeyoursecrets.js
Last active Apr 13, 2021 — forked from woodwardtw/tellmeyoursecrets.js
google script that lists information on google drive files and folders shared by link
View tellmeyoursecrets.js
var getFullPath = function(pathObj) {
var out = '';
var sep = '/';
var folderIter = pathObj.getParents();
while(folderIter.hasNext()) {
out += sep + folderIter.next().getName();
}
out += sep + pathObj.getName();
return out;
};