instant.paths

Package instant :: Module paths |
[hide private]
[frames] | no frames]

# Module paths

source code

This module contains helper functions for working with temp and cache directories.

Functions | [hide private]
get_temp_dir() Return a temporary directory for the duration of this process. | source code
delete_temp_dir() Delete the temporary directory created by get_temp_dir(). | source code
get_instant_dir() Return a temporary directory for the duration of this process. | source code
get_default_cache_dir() Return the default cache directory. | source code
validate_cache_dir(cache_dir) | source code
_test() | source code

Variables | [hide private]
| _tmp_dir = `None`
| __package__ = ``'``instant``'``

Function Details | [hide private]

### get_temp_dir() | source code
Return a temporary directory for the duration of this process. Multiple calls in the same process returns the same directory. Remember to all delete_temp_dir() before exiting.