Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d614011 commit 755c7f8Copy full SHA for 755c7f8
github.js
@@ -151,6 +151,17 @@
151
cb(err, res);
152
});
153
};
154
+
155
+ // Create a repo
156
+ // -------
157
+ this.createRepo = function(options, cb) {
158
+ _request("POST", "/user/repos", options, cb);
159
+ };
160
161
162
163
164
165
166
167
@@ -169,6 +180,15 @@
169
180
"sha": null
170
181
171
182
183
184
+ // Delete a repo
185
+ // --------
186
187
+ this.delete = function(cb) {
188
+ console.error (repoPath);
189
+ _request("DELETE", repoPath, options, cb);
190
191
172
192
// Uses the cache if branch has not been changed
173
193
// -------
174
194
0 commit comments