Class: Amp::RevlogSupport::LazyIndex

Inherits:
Index show all
Defined in:
lib/amp/revlogs/index.rb

Overview

LazyIndex

When this gets filled in, this class will let us access an index without loading every entry first. This is handy because index files can get pretty fuckin big.

Constant Summary

Constants inherited from Index

Index::VERSION_FORMAT

Constants included from Support

Support::REVLOG_DEFAULT_FLAGS, Support::REVLOG_DEFAULT_FORMAT, Support::REVLOG_DEFAULT_VERSION, Support::REVLOG_NG_INLINE_DATA, Support::REVLOG_VERSION_0, Support::REVLOG_VERSION_NG

Instance Attribute Summary

Attributes inherited from Index

#cache, #chunk_cache, #index, #indexfile, #node_map, #version

Method Summary

Methods inherited from Index

#<<, #[], #each, #has_node?, parse, #size, #write_entry

Methods included from Enumerable

#inject, #select_map

Methods included from Support

#compress, #decompress, #get_offset, #get_version, #history_hash, #offset_version