| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d439162 commit 749826c
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1431,9 +1431,6 @@ | |||
| 1431 | 1431 | "git_repository_fetchhead_foreach": { | |
| 1432 | 1432 | "ignore": true | |
| 1433 | 1433 | }, | |
| 1434 | - "git_repository_free": { | ||
| 1435 | - "ignore": true | ||
| 1436 | - }, | ||
| 1437 | 1434 | "git_repository_hashfile": { | |
| 1438 | 1435 | "ignore": true | |
| 1439 | 1436 | }, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -288,8 +288,8 @@ var Helpers = { | |||
| 288 | 288 | // available | |
| 289 | 289 | if (key == typeDef.cType + "_free") { | |
| 290 | 290 | typeDef.freeFunctionName = key; | |
| 291 | - fnDef.ignore = true; | ||
| 292 | - return; | ||
| 291 | + //fnDef.ignore = true; | ||
| 292 | + //return; | ||
| 293 | 293 | } | |
| 294 | 294 | ||
| 295 | 295 | fnDef.cppFunctionName = Helpers.cTypeToCppName(key, "git_" + typeDef.typeName); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -28,7 +28,9 @@ describe("Clone", function() { | |||
| 28 | 28 | fse.remove(ssh), | |
| 29 | 29 | fse.remove(git), | |
| 30 | 30 | fse.remove(file) | |
| 31 | - ]).catch(function unhandledFunction() {}); | ||
| 31 | + ]).catch(function unhandledFunction(ex) { | ||
| 32 | + console.log(ex.message); | ||
| 33 | + }); | ||
| 32 | 34 | }); | |
| 33 | 35 | ||
| 34 | 36 | it.skip("can clone with http", function() { | |
@@ -43,6 +45,7 @@ describe("Clone", function() { | |||
| 43 | 45 | ||
| 44 | 46 | return Clone.clone(url, http, opts).then(function(repo) { | |
| 45 | 47 | assert.ok(repo instanceof Repository); | |
| 48 | + repo.free(); | ||
| 46 | 49 | }); | |
| 47 | 50 | }); | |
| 48 | 51 | ||
@@ -58,6 +61,8 @@ describe("Clone", function() { | |||
| 58 | 61 | ||
| 59 | 62 | return Clone.clone(url, https, opts).then(function(repo) { | |
| 60 | 63 | assert.ok(repo instanceof Repository); | |
| 64 | + repo.stateCleanup(); | ||
| 65 | + repo.free(); | ||
| 61 | 66 | }); | |
| 62 | 67 | }); | |
| 63 | 68 | ||
@@ -76,6 +81,8 @@ describe("Clone", function() { | |||
| 76 | 81 | ||
| 77 | 82 | return Clone.clone(url, ssh, opts).then(function(repo) { | |
| 78 | 83 | assert.ok(repo instanceof Repository); | |
| 84 | + repo.stateCleanup(); | ||
| 85 | + repo.free(); | ||
| 79 | 86 | }); | |
| 80 | 87 | }); | |
| 81 | 88 | ||
@@ -98,6 +105,8 @@ describe("Clone", function() { | |||
| 98 | 105 | ||
| 99 | 106 | return Clone.clone(url, ssh, opts).then(function(repo) { | |
| 100 | 107 | assert.ok(repo instanceof Repository); | |
| 108 | + repo.stateCleanup(); | ||
| 109 | + repo.free(); | ||
| 101 | 110 | }); | |
| 102 | 111 | }); | |
| 103 | 112 | ||
@@ -113,6 +122,8 @@ describe("Clone", function() { | |||
| 113 | 122 | ||
| 114 | 123 | return Clone.clone(url, git, opts).then(function(repo) { | |
| 115 | 124 | assert.ok(repo instanceof Repository); | |
| 125 | + repo.stateCleanup(); | ||
| 126 | + repo.free(); | ||
| 116 | 127 | }); | |
| 117 | 128 | }); | |
| 118 | 129 | ||
@@ -122,6 +133,8 @@ describe("Clone", function() { | |||
| 122 | 133 | ||
| 123 | 134 | return Clone.clone(url, file).then(function(repo) { | |
| 124 | 135 | assert.ok(repo instanceof Repository); | |
| 136 | + repo.stateCleanup(); | ||
| 137 | + repo.free(); | ||
| 125 | 138 | }); | |
| 126 | 139 | }); | |
| 127 | 140 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments