about summary refs log tree commit diff
path: root/src/libstore/store-api.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-24T10·27+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-24T10·27+0100
commit11525377e1b0fdba30713ff3826e7bc26ce488af (patch)
treefc084a7e2e77d02b456919b6e04268a437372563 /src/libstore/store-api.cc
parent8b7839b608c9d92d432154fd717b77953efe447c (diff)
Typos
Diffstat (limited to 'src/libstore/store-api.cc')
-rw-r--r--src/libstore/store-api.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc
index 378233654225..5f3f621e8d00 100644
--- a/src/libstore/store-api.cc
+++ b/src/libstore/store-api.cc
@@ -135,14 +135,14 @@ void checkStoreName(const string & name)
      if <type> = "source":
        the serialisation of the path from which this store path is
        copied, as returned by hashPath()
-     if <type> = "output:out":
+     if <type> = "output:<id>":
        for non-fixed derivation outputs:
          the derivation (see hashDerivationModulo() in
          primops.cc)
        for paths copied by addToStore() or produced by fixed-output
        derivations:
          the string "fixed:out:<rec><algo>:<hash>:", where
-           <rec> = "r:" for recursive (path) hashes, or "" or flat
+           <rec> = "r:" for recursive (path) hashes, or "" for flat
              (file) hashes
            <algo> = "md5", "sha1" or "sha256"
            <hash> = base-16 representation of the path or flat hash of