atom-nuclide
Version:
A unified developer experience for web and mobile development, built as a suite of features on top of Atom to provide hackability and the support of an active community.
214 lines (209 loc) • 4.76 kB
JavaScript
"use strict";
let Observable, trackOperationTiming;
module.exports = _client => {
const remoteModule = {};
remoteModule.getHgRepository = function (arg0) {
return _client.marshalArguments(Array.from(arguments), [{
name: "directoryPath",
type: {
location: {
type: "source",
fileName: "SourceControlService.js",
line: 24
},
kind: "string"
}
}]).then(args => {
return _client.callRemoteFunction("SourceControlService/getHgRepository", "promise", args);
}).then(value => {
return _client.unmarshal(value, {
location: {
type: "source",
fileName: "SourceControlService.js",
line: 24
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "SourceControlService.js",
line: 24
},
kind: "named",
name: "HgRepositoryDescription"
}
});
});
};
return remoteModule;
};
Object.defineProperty(module.exports, "inject", {
value: function () {
Observable = arguments[0];
trackOperationTiming = arguments[1];
}
});
Object.defineProperty(module.exports, "defs", {
value: new Map([["Object", {
kind: "alias",
name: "Object",
location: {
type: "builtin"
}
}], ["Date", {
kind: "alias",
name: "Date",
location: {
type: "builtin"
}
}], ["RegExp", {
kind: "alias",
name: "RegExp",
location: {
type: "builtin"
}
}], ["Buffer", {
kind: "alias",
name: "Buffer",
location: {
type: "builtin"
}
}], ["fs.Stats", {
kind: "alias",
name: "fs.Stats",
location: {
type: "builtin"
}
}], ["NuclideUri", {
kind: "alias",
name: "NuclideUri",
location: {
type: "builtin"
}
}], ["HgRepositoryDescription", {
kind: "alias",
location: {
type: "source",
fileName: "SourceControlService.js",
line: 18
},
name: "HgRepositoryDescription",
definition: {
location: {
type: "source",
fileName: "SourceControlService.js",
line: 18
},
kind: "object",
fields: [{
location: {
type: "source",
fileName: "SourceControlService.js",
line: 19
},
name: "repoPath",
type: {
location: {
type: "source",
fileName: "SourceControlService.js",
line: 19
},
kind: "string"
},
optional: false
}, {
location: {
type: "source",
fileName: "SourceControlService.js",
line: 20
},
name: "originURL",
type: {
location: {
type: "source",
fileName: "SourceControlService.js",
line: 20
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "SourceControlService.js",
line: 20
},
kind: "string"
}
},
optional: false
}, {
location: {
type: "source",
fileName: "SourceControlService.js",
line: 21
},
name: "workingDirectoryPath",
type: {
location: {
type: "source",
fileName: "SourceControlService.js",
line: 21
},
kind: "string"
},
optional: false
}]
}
}], ["getHgRepository", {
kind: "function",
name: "getHgRepository",
location: {
type: "source",
fileName: "SourceControlService.js",
line: 24
},
type: {
location: {
type: "source",
fileName: "SourceControlService.js",
line: 24
},
kind: "function",
argumentTypes: [{
name: "directoryPath",
type: {
location: {
type: "source",
fileName: "SourceControlService.js",
line: 24
},
kind: "string"
}
}],
returnType: {
location: {
type: "source",
fileName: "SourceControlService.js",
line: 24
},
kind: "promise",
type: {
location: {
type: "source",
fileName: "SourceControlService.js",
line: 24
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "SourceControlService.js",
line: 24
},
kind: "named",
name: "HgRepositoryDescription"
}
}
}
}
}]])
});