Revision 29:ec9750e9cceb src/pithos/content/util.js
b/src/pithos/content/util.js | ||
---|---|---|
15 | 15 |
return homeDirFile.path; |
16 | 16 |
} |
17 | 17 |
|
18 |
/* This function received an already parsed JSON object and converts it to a formatted string */ |
|
19 |
function jsonToString(jsonobj) { |
|
20 |
return JSON.stringify(jsonobj); |
|
21 |
} |
|
18 | 22 |
function isLocalDirectory(path) { |
19 | 23 |
return !isRemoteDirectory(path); |
20 | 24 |
} |
Also available in: Unified diff