INNER CODE UNIT · JavaScript

_log

asklokesh/loki-mode · src/audit/index.js:37

  _log = new AuditLog({ projectDir: dir });
  _residency = new ResidencyController({ projectDir: dir });
  _initialized = true;
}

/**
 * Record an audit entry.
 */
function record(entry) {
  if (!_initialized) init();
  return _log.record(entry);
}

/**
 * Verify the hash chain integrity.
 */
function verifyChain() {
  if (!_initialized) init();

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…