Browse files

Fix: file/folder creation in Orionode fileClientPlugin -- fixes #2

  • Loading branch information...
1 parent 48af213 commit 42feb3cdc9981e95dc95e01c8b4e1f8c7636fdab @mamacdon committed Dec 6, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/workspace.js
View
2 lib/workspace.js
@@ -44,7 +44,9 @@ module.exports = function(options) {
// http://wiki.eclipse.org/Orion/Server_API/Workspace_API#Getting_workspace_metadata
var parentFileLocation = fileRoot;
fileUtil.getChildren(workspaceDir, parentFileLocation, [path.basename(tempDir)], function(children) {
+ // TODO this is basically a File object with 1 more field. Should unify the JSON between workspace.js and file.js
var ws = JSON.stringify({
+ Directory: true,
Id: workspaceId,
Name: workspaceName,
Location: api.join(workspaceRoot, workspaceId),

0 comments on commit 42feb3c

Please sign in to comment.