This is used to create Linux device nodes for USB devices that are not automatically created by the kernel or when udev is not permitted.
MakeDeviceNode("/dev/tty-magnetometer", "ttyUSB", "Prolific Technology Inc.", "USB-Serial Controller D")
Will create a device node at /dev/tty-magnetometer
if it does not already exist. The device node will be created if the USB device with the vendor name Prolific Technology Inc.
(ID 067b
) and product name USB-Serial Controller D
(ID 2303
) is connected.
This will get the specified repository information and log it.
LogRepoInfo("/path/to/repo")
This will verify the specified repository is at the specified commit hash. You can also specify whether to throw an exception of failure.
VerifyRepoCommit("/path/to/repo", "<commit-hash>", pass_on_failure=False)
This will verify the specified repository is clean. You can also specify whether to throw an exception of failure.
VerifyRepoClean("/path/to/repo", pass_on_failure=False)