Sha256: a684a4dfab24622827c3da42bfcce13f0c67e9d5313e756659470081dcbf6b38
Contents?: true
Size: 446 Bytes
Versions: 4
Compression:
Stored size: 446 Bytes
Contents
module Amp module RevlogSupport module Node # the null node ID - just 20 null bytes NULL_ID = "\0" * 20 # -1 is the null revision (the last one in the index) NULL_REV = -1 ## # Returns the node in a short hexadecimal format - only 6 bytes => 12 hex bytes # # @return [String] the node, in hex, and chopped a bit def short(node) node.short_hex end end end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
amp-0.5.2 | lib/amp/revlogs/node.rb |
amp-0.5.1 | lib/amp/revlogs/node.rb |
amp-pure-0.5.0 | lib/amp/revlogs/node.rb |
amp-0.5.0 | lib/amp/revlogs/node.rb |