active method

Future<int> active({
  1. bool isRemove = false,
  2. String dirScan = './',
})

Implementation

Future<int> active({bool isRemove = false, String dirScan = './'}) async {
  _isRemove = isRemove;
  _count = 0;
  _validate();
  await _scanObject(dirScan, '_Directory');
  printLog('Successfully updated $_count files.');
  return _count;
}