process: clarify that module is case-sensitive
This commit is contained in:
@@ -67,6 +67,8 @@ impl Process {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// get a `Module` of a `Process` by name
|
/// get a `Module` of a `Process` by name
|
||||||
|
///
|
||||||
|
/// note: the casing matters (don't search for `shell32.dll` if you want `SHELL32.dll`)
|
||||||
pub fn module(&self, name: &str) -> Result<Module, Error> {
|
pub fn module(&self, name: &str) -> Result<Module, Error> {
|
||||||
let Some(snapshot) = snapshot::ModuleSnapshot::get_modules(self.id)?
|
let Some(snapshot) = snapshot::ModuleSnapshot::get_modules(self.id)?
|
||||||
.into_iter()
|
.into_iter()
|
||||||
|
|||||||
Reference in New Issue
Block a user