28 lines
567 B
JavaScript
28 lines
567 B
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
exports.Counter = void 0;
|
||
|
class Counter {
|
||
|
_files = 0;
|
||
|
_directories = 0;
|
||
|
set files(num) {
|
||
|
this._files = num;
|
||
|
}
|
||
|
get files() {
|
||
|
return this._files;
|
||
|
}
|
||
|
set directories(num) {
|
||
|
this._directories = num;
|
||
|
}
|
||
|
get directories() {
|
||
|
return this._directories;
|
||
|
}
|
||
|
/**
|
||
|
* @deprecated use `directories` instead
|
||
|
*/
|
||
|
/* c8 ignore next 3 */
|
||
|
get dirs() {
|
||
|
return this._directories;
|
||
|
}
|
||
|
}
|
||
|
exports.Counter = Counter;
|