Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions reference/tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1479,3 +1479,18 @@ tools.latest_vs_version_installed()

Returns a string with the major version of latest Microsoft Visual Studio available on machine. If no Microsoft Visual Studio installed,
it returns ``None``.


tools.apple_dot_clean()
-----------------------

.. code-block:: python

def apple_dot_clean(folder)

Remove recursively all ``._`` files inside ``folder`` containing metadata information for Apple
operating systems, these files can appear when unzipping a file that has been created in Macos.
This tool will remove only files matching the pattern if there is file without the prefix too.

Parameters:
- **folder** (Required): root folder to start deleting ``._`` files.