浏览代码

docs: add link to tempfile module

Linking tempfile docs helps to figure out, which default value might be
used, if TMPDIR is not set.
lumbric 7 年之前
父节点
当前提交
bbd1533c99
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      docs/usage_general.rst.inc

+ 3 - 1
docs/usage_general.rst.inc

@@ -202,7 +202,7 @@ General:
         exceptions is not shown.
         Please only use for good reasons as it makes issues harder to analyze.
     TMPDIR
-        where temporary files are stored (might need a lot of temporary space for some operations)
+        where temporary files are stored (might need a lot of temporary space for some operations), see tempfile_ for details
 
 Some automatic "answerers" (if set, they automatically answer confirmation questions):
     BORG_UNKNOWN_UNENCRYPTED_REPO_ACCESS_IS_OK=no (or =yes)
@@ -261,6 +261,8 @@ Please note:
 
 .. _INI: https://docs.python.org/3/library/logging.config.html#configuration-file-format
 
+.. _tempfile: https://docs.python.org/3/library/tempfile.html#tempfile.gettempdir
+
 .. _file-systems:
 
 File systems