eject_volume Method
Ejects a removable storage volume formatted with the CBFS Storage filesystem. (Windows only).
Syntax
def eject_volume(force: bool) -> None: ...
Remarks
If the currently-open vault resides on a removable storage volume formatted with the CBFS Storage filesystem (i.e., if the vault was opened using the open_volume method), this method can be used to eject it. If this method is successful, the vault is closed, and the volume is made available for removal (similar to how the "Eject" functionality provided by Windows Explorer works).
The Force parameter specifies whether the removable storage volume should be forcefully ejected. If Force is False, this method will fail if the vault is currently in use by the system or other applications.
Note: This method can only be called when active is True, and cannot be called within events.