aboutsummaryrefslogtreecommitdiffstats
path: root/technical.md
diff options
context:
space:
mode:
Diffstat (limited to 'technical.md')
-rw-r--r--technical.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/technical.md b/technical.md
new file mode 100644
index 0000000..3c68953
--- /dev/null
+++ b/technical.md
@@ -0,0 +1,19 @@
+## Hidden folder
+
+Dat stores its data in a hidden folder that is stored by default in the user's home directory.
+
+```
+~/.dat
+```
+
+Because of this, data is only ever downloaded once. That is, if you have multiple projects that use the same data (perhaps at different versions) on the same machine, dat will first check the global `.dat` folder to see if the data has already been downloaded before querying the network.
+
+The global `.dat` folder has:
+
+```
+$ ls ~/.dat
+db
+config
+```
+
+`dat` will first check `/root/.dat` and then `~/.dat`. So, if you want to have the .dat available globally, move the folder to `/root/.dat`.