rtac.utils.clean_logs
Functions
|
Check if any process is using the file. |
|
Removes hidden fuse files that may clutter the log directory. |
- rtac.utils.clean_logs.is_file_open(filepath: str) bool[source]
Check if any process is using the file.
- Parameters:
filepath (str) – Path to the file we want to know if it is open.
- Returns:
True if file is open, False if not.
- Return type:
bool
Removes hidden fuse files that may clutter the log directory.
- Parameters:
directory (str) – Path to the directory to declutter from fuse files.
- Return type:
None