python-fhs
Python module for using the FHS and XDG basedir paths.

◆ remove_runtime()

def fhs.remove_runtime (   name = None,
  dir = False,
  packagename = None 
)

Remove a reuntime file or directory.

A directory is removed recursively. All parameters must be the same as what was passed to write_runtime() when the file was created.

Parameters
nameTarget to remove.
dirIf True, remove a directory instead of a file. Defaults to False.
packagenameOverride the packagename.
Returns
None.

Definition at line 839 of file fhs.py.

Here is the call graph for this function: