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

◆ remove_data()

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

Remove a data file.

Use the same parameters as were used to create it with write_data().

Parameters
nameThe file to remove.
dirIf True, remove a directory. If False (the default), remove a file.
packagenameOverride the packagename.
Returns
None.

Definition at line 1024 of file fhs.py.

Here is the call graph for this function: