diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-12-23 10:33:25 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-12-23 10:35:34 +0000 |
commit | 690ff694ca6db586c06ec484ea158261c156aa2f (patch) | |
tree | 0b2de2288deb1b6af1b51519da6cf8293ff9cfde /python/examples/create_disk.py | |
parent | 486cafd4acf4945bbf3fea541eaa320f5c419406 (diff) | |
download | libguestfs-690ff694ca6db586c06ec484ea158261c156aa2f.tar.gz libguestfs-690ff694ca6db586c06ec484ea158261c156aa2f.tar.xz libguestfs-690ff694ca6db586c06ec484ea158261c156aa2f.zip |
lib: Add guestfs___remove_tmpdir helper function.
This function does 'rm -rf <dir>' for temporary directories, safely
working if '<dir>' contains shell meta-characters.
Replace existing code for removing directories with this.
Diffstat (limited to 'python/examples/create_disk.py')
0 files changed, 0 insertions, 0 deletions