mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2025-01-03 10:22:11 +01:00
JSDoc comment.
This commit is contained in:
parent
6c305611ef
commit
1f280b2b6e
1 changed files with 10 additions and 0 deletions
10
lib/index.js
10
lib/index.js
|
@ -59,6 +59,16 @@ GitStats.record = function (data, callback) {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* get
|
||||||
|
* Gets the git stats.
|
||||||
|
*
|
||||||
|
* @name get
|
||||||
|
* @function
|
||||||
|
* @param {Object} data The stats filter. **Not yet implemented**.
|
||||||
|
* @param {Function} callback The callback function.
|
||||||
|
* @return {undefined}
|
||||||
|
*/
|
||||||
GitStats.get = function (data, callback) {
|
GitStats.get = function (data, callback) {
|
||||||
if (typeof data === "function") {
|
if (typeof data === "function") {
|
||||||
callback = data;
|
callback = data;
|
||||||
|
|
Loading…
Reference in a new issue