syncthing/cmd
Jakob Borg 2c8b627008 Integer type policy
Integers are for numbers, enabling arithmetic like subtractions and for
loops without getting shot in the foot. Unsigneds are for bitfields.

- "int" for numbers that will always be laughably smaller than four
  billion, and where we don't care about the serialization format.

- "int32" for numbers that will always be laughably smaller than four
  billion, and will be serialized to four bytes.

- "int64" for numbers that may approach four billion or will be
  serialized to eight bytes.

- "uint32" and "uint64" for bitfields, depending on required number of
  bits and serialization format. Likewise "uint8" and "uint16", although
  rare in this project since they don't exist in XDR.

- "int8", "int16" and plain "uint" are almost never useful.
2015-01-19 10:34:36 -08:00
..
genassets Use bytes.Reader instead of bytes.Buffer for compiled in assets 2015-01-13 16:05:03 +01:00
stcompdirs Add debugging utility for manual directory comparison 2014-12-31 13:04:06 +01:00
stevents Use more inclusive copyright header 2014-11-17 12:54:42 +01:00
stfileinfo Refactor out protocol and luhn (protocol dependency) packages 2015-01-13 13:22:56 +01:00
stfinddevice Refactor out protocol and luhn (protocol dependency) packages 2015-01-13 13:22:56 +01:00
stindex Refactor out protocol and luhn (protocol dependency) packages 2015-01-13 13:22:56 +01:00
syncthing Integer type policy 2015-01-19 10:34:36 -08:00
todos Use more inclusive copyright header 2014-11-17 12:54:42 +01:00
transifexdl Use more inclusive copyright header 2014-11-17 12:54:42 +01:00
translate Dependency update, new golang.org/x package names 2014-11-30 00:17:00 +01:00
.gitignore Remove reprecated st* utils 2014-07-01 12:20:25 +02:00