diff options
author | Karissa McKelvey <krmckelv@gmail.com> | 2016-01-05 17:00:24 -0500 |
---|---|---|
committer | Karissa McKelvey <krmckelv@gmail.com> | 2016-01-05 17:00:24 -0500 |
commit | 8b98e2331d7d1f83a27db3753040d9382c357573 (patch) | |
tree | bf6515e9eb0667cfd950e175247689507e686065 /technical.md | |
parent | 283c5e7e4deeb33138e71f69127be9f2f2ddb30d (diff) | |
download | dat-docs-8b98e2331d7d1f83a27db3753040d9382c357573.tar.gz dat-docs-8b98e2331d7d1f83a27db3753040d9382c357573.zip |
Revert "move to docs/ folder"
This reverts commit 283c5e7e4deeb33138e71f69127be9f2f2ddb30d.
Diffstat (limited to 'technical.md')
-rw-r--r-- | technical.md | 19 |
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`. |