doc(add): document hash stability
fixes #4318
Steven Allen committed
Feb 11, 2020 at 09:29 UTC
bddd8287d435df3b35a3b2b9ea3f67e238bc8519
1 file changed
+5
core/commands/add.go
+5
@@ -102,6 +102,11 @@ You can now check what blocks have been created by:
102
QmY6yj1GsermExDXoosVE3aSPxdMNYr6aKuw3nA8LoWPRS 2059
103
QmerURi9k4XzKCaaPbsK6BL5pMEjF7PGphjDvkkjDtsVf3 868
104
QmQB28iwSriSUSMqG2nXDTLtdPHgWb4rebBrU7Q1j4vxPv 338
105
+
106
+Finally, a note on hash determinism. While not guaranteed, adding the same
107
+file/directory with the same flags will almost always result in the same output
108
+hash. However, almost all of the flags provided by this command (other than pin,
109
+only-hash, and progress/status related flags) will change the final hash.
110
`,
111
},
112