community.general/lib/ansible/modules/files
Daniel Andrei Mincă 89d6c36584 Optimize file handling in the find module (#38192)
* Optimize file handling

Use the best practice of opening and doing operations on an opened file

Signed-off-by: Daniel Andrei Minca <mandrei17@gmail.com>

* Fix docstring to Sphinx type

- update the docstrings to Sphinx type, as suggested by Toshio
- Move the pattern object assignment outside the context manager, as
  suggested by Matt

Signed-off-by: Daniel Andrei Minca <mandrei17@gmail.com>
2018-04-10 09:01:44 -07:00
..
__init__.py
acl.py Remove deprecated get_exception API 2018-02-05 23:39:56 -05:00
archive.py archive: Add support for xz (#34110) 2018-01-22 07:33:07 -05:00
assemble.py now get_url defaults to module temp dir (#36218) 2018-02-20 08:40:45 -05:00
blockinfile.py now get_url defaults to module temp dir (#36218) 2018-02-20 08:40:45 -05:00
copy.py copy: doc: fix typo (#38197) 2018-04-03 09:26:35 +02:00
fetch.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
file.py File Module docs, adding mode permission example with sticky bit (#36151) 2018-02-14 12:18:13 +00:00
find.py Optimize file handling in the find module (#38192) 2018-04-10 09:01:44 -07:00
ini_file.py ini_file: add allow_no_value param (#24442) 2018-03-05 17:05:41 +01:00
iso_extract.py
lineinfile.py minor wording changes to remove ambiguity 2018-02-28 16:47:41 -05:00
patch.py
replace.py now get_url defaults to module temp dir (#36218) 2018-02-20 08:40:45 -05:00
stat.py removed Queen's english from documentation 2017-11-28 10:03:36 +10:00
synchronize.py dedupe the --rsh options in favor of user supplied (#38096) 2018-03-29 09:32:27 -05:00
tempfile.py
template.py template: Add option to `lstrip_blocks' and fix setting`trim_blocks` inline (#37478) 2018-03-23 12:05:21 -04:00
unarchive.py Add example to clear the usage of `extra_opts` (#31873) 2018-04-03 05:03:11 -04:00
xattr.py Remove deprecated get_exception API 2018-02-05 23:39:56 -05:00
xml.py Update xml.py (#38019) 2018-03-28 07:47:28 +02:00