MCPcopy Create free account
hub / github.com/USBGuard/usbguard / learnSysfsPath

Method learnSysfsPath

src/Library/DeviceManagerBase.cpp:389–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387 }
388
389 void DeviceManagerBase::learnSysfsPath(const std::string& sysfs_path, uint32_t id)
390 {
391 USBGUARD_LOG(Trace) << "Learn sysfs_path=" << sysfs_path << " size=" << sysfs_path.size() << " id=" << id;
392 _sysfs_path_to_id_map[sysfs_path] = id;
393 }
394
395 void DeviceManagerBase::forgetSysfsPath(const std::string& sysfs_path)
396 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected