| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -16,48 +16,23 @@ using namespace v8; | |||
| 16 | 16 | using namespace node; | |
| 17 | 17 | ||
| 18 | 18 | /** | |
| 19 | - * Class: GitError | ||
| 20 | 19 | * Wrapper for libgit2 git_error. | |
| 21 | 20 | */ | |
| 22 | 21 | class GitError : public ObjectWrap { | |
| 23 | 22 | public: | |
| 24 | - /** | ||
| 25 | - * Variable: constructor_template | ||
| 26 | - * Used to create Node.js constructor. | ||
| 27 | - */ | ||
| 23 | + | ||
| 28 | 24 | static Persistent<Function> constructor_template; | |
| 29 | - /** | ||
| 30 | - * Function: Initialize | ||
| 31 | - * Used to intialize the EventEmitter from Node.js | ||
| 32 | - * | ||
| 33 | - * Parameters: | ||
| 34 | - * target - Object the Node.js global module object | ||
| 35 | - */ | ||
| 25 | + | ||
| 36 | 26 | static void Initialize(Handle<Object> target); | |
| 37 | 27 | ||
| 38 | 28 | static Local<Object> WrapError(const git_error* error); | |
| 39 | 29 | ||
| 40 | 30 | protected: | |
| 41 | - const git_error* error; | ||
| 42 | - | ||
| 43 | - /** | ||
| 44 | - * Constructor: GitError | ||
| 45 | - */ | ||
| 46 | 31 | GitError() {}; | |
| 47 | - /** | ||
| 48 | - * Deconstructor: GitError | ||
| 49 | - */ | ||
| 50 | 32 | ~GitError() {}; | |
| 51 | 33 | ||
| 52 | - /** | ||
| 53 | - * Function: New | ||
| 54 | - * | ||
| 55 | - * Parameters: | ||
| 56 | - * args Arguments function call | ||
| 57 | - * | ||
| 58 | - * Returns: | ||
| 59 | - * Object args.This() | ||
| 60 | - */ | ||
| 34 | + const git_error* error; | ||
| 35 | + | ||
| 61 | 36 | static Handle<Value> New(const Arguments& args); | |
| 62 | 37 | }; | |
| 63 | 38 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments