8fe3f75bd7dc4022c3cd4fcf4c6f7a1832ec6364,Orange/misc/environ.py,,cache_dir,#,70
Before Change
Return the platform dependent Orange cache directory.
if sys.platform == "darwin":
base = os.path.expanduser("~/Library/Caches")
elif sys.platform == "win32":
base = os.getenv("APPDATA", os.path.expanduser("~/AppData/Local"))
elif os.name == "posix":
base = os.getenv("XDG_CACHE_HOME", os.path.expanduser("~/.cache"))
else:
base = os.path.expanduser("~/.cache")
After Change
Return the platform dependent Orange cache directory.
return get_path("cache_dir", _default_cache_dir())
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 7
Instances
Project Name: biolab/orange3
Commit Name: 8fe3f75bd7dc4022c3cd4fcf4c6f7a1832ec6364
Time: 2020-03-26
Author: ales.erjavec@fri.uni-lj.si
File Name: Orange/misc/environ.py
Class Name:
Method Name: cache_dir
Project Name: matplotlib/matplotlib
Commit Name: b27dcf2ebdadc6c54ad09e9eabd83dd8c1c2a44c
Time: 2019-02-19
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/backends/backend_gtk3.py
Class Name: SaveFigureGTK3
Method Name: trigger
Project Name: biolab/orange3
Commit Name: 8fe3f75bd7dc4022c3cd4fcf4c6f7a1832ec6364
Time: 2020-03-26
Author: ales.erjavec@fri.uni-lj.si
File Name: Orange/misc/environ.py
Class Name:
Method Name: cache_dir
Project Name: biolab/orange3
Commit Name: 8fe3f75bd7dc4022c3cd4fcf4c6f7a1832ec6364
Time: 2020-03-26
Author: ales.erjavec@fri.uni-lj.si
File Name: Orange/misc/environ.py
Class Name:
Method Name: data_dir_base
Project Name: matplotlib/matplotlib
Commit Name: 18a7ca2c5f793b3cf5b324f5225b487ae099c0e9
Time: 2019-02-27
Author: jklymak@gmail.com
File Name: lib/matplotlib/backends/backend_gtk3.py
Class Name: SaveFigureGTK3
Method Name: trigger