fd_by_path
Return a list of file descriptors.
This method returns list of file descriptors corresponding to file paths passed in paths variable.
def fd_by_path(
paths: List[str]
) - > List[int]
Return a list of file descriptors. This method returns list of file descriptors corresponding to file paths passed in paths variable.
Parameters
| Name | Type | Description |
|---|---|---|
| paths | List[str] | List of file paths used to identify target files by their device and inode numbers. |
Returns
| Type | Description |
|---|---|
List[int] | List of file descriptors currently open in the process that match the device and inode of the provided file paths. |