delete method

void delete(
  1. String fid
)

Implementation

void delete(String fid) {
  final dir = p.join(_root, historyDir, fid);
  final d = Directory(dir);
  if (d.existsSync()) {
    d.deleteSync(recursive: true);
  }
}