Skip to content
  • Stephen J Day's avatar
    Use "Size" field to describe blobs over "Length" · 26b7fe4a
    Stephen J Day authored
    
    
    After consideration, we've changed the main descriptor field name to for number
    of bytes to "size" to match convention. While this may be a subjective
    argument, commonly we refer to files by their "size" rather than their
    "length". This will match other conventions, like `(FileInfo).Size()` and
    methods on `io.SizeReaderAt`. Under more broad analysis, this argument doesn't
    necessarily hold up. If anything, "size" is shorter than "length".
    
    Signed-off-by: default avatarStephen J Day <stephen.day@docker.com>
    26b7fe4a
Loading