Skip to content

Commit

Permalink
document tools.apple_dot_clean (closes #977) (#978)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgsogo authored and danimtb committed Dec 18, 2018
1 parent 025bbe5 commit d7e1f2f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions reference/tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1494,3 +1494,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.

0 comments on commit d7e1f2f

Please sign in to comment.