summaryrefslogtreecommitdiff
path: root/Types/KeySource.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-02-14 14:10:36 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-02-14 14:15:26 -0400
commit177245deb6ee3271eb44d77c2b0cd722755b2c3f (patch)
tree876c4844937c831470192d367123f581fb6cc3d8 /Types/KeySource.hs
parent4e2d50d2e4c9b4d3487c24042b733d02c2f4dd46 (diff)
crippled filesystem support, probing and initial support
git annex init probes for crippled filesystems, and sets direct mode, as well as `annex.crippledfilesystem`. Avoid manipulating permissions of files on crippled filesystems. That would likely cause an exception to be thrown. Very basic support in Command.Add for cripped filesystems; avoids the lock down entirely since doing it needs both permissions and hard links. Will make this better soon.
Diffstat (limited to 'Types/KeySource.hs')
-rw-r--r--Types/KeySource.hs7
1 files changed, 5 insertions, 2 deletions
diff --git a/Types/KeySource.hs b/Types/KeySource.hs
index f4885767a..628954c33 100644
--- a/Types/KeySource.hs
+++ b/Types/KeySource.hs
@@ -12,9 +12,12 @@ module Types.KeySource where
-
- The contentLocation may be different from the filename
- associated with the key. For example, the add command
- - temporarily puts the content into a lockdown directory
+ - may temporarily hard link the content into a lockdown directory
- for checking. The migrate command uses the content
- - of a different Key. -}
+ - of a different Key.
+ -
+ -
+ -}
data KeySource = KeySource
{ keyFilename :: FilePath
, contentLocation :: FilePath