Class: Amp::Bundles::BundleManifest

Inherits:
Manifest show all
Includes:
BundleRevlog
Defined in:
lib/amp/revlogs/bundle_revlogs.rb

Constant Summary

Constants included from BundleRevlog

Amp::Bundles::BundleRevlog::BUNDLED_INDEX_ENTRY_SIZE

Constants included from RevlogSupport::Node

RevlogSupport::Node::NULL_ID, RevlogSupport::Node::NULL_REV

Instance Attribute Summary

Attributes inherited from Manifest

#manifest_list

Attributes inherited from Revlog

#data_file, #index, #index_file

Instance Method Summary collapse

Methods included from BundleRevlog

#add_group, #add_revision, #bundle_initialize, #bundled_base_revision_for_index, #bundled_revision?, #decompress_revision, #get_chunk, #revision_diff

Methods included from RevlogSupport::Node

#short

Methods inherited from Manifest

#add, #check_forbidden, #encode_file, #find, parse, #read, #read_delta

Methods inherited from Revlog

#[], #add_group, #add_revision, #all_indices, #ancestor, #ancestors, #base_revision_for_index, #check_inline_size, #checksize, #children, #cmp, #data_end_for_index, #data_size_for_index, #data_start_for_index, #decompress_revision, #descendants, #each, #empty?, #files, #find_missing, #get_chunk, #group, #heads, #id_match, #link_revision_for_index, #load_cache, #lookup_id, #node_id_for_index, #nodes_between, #open, #parent_indices_for_index, #parents_for_node, #partial_id_match, #reachable_nodes_for_node, #revision_diff, #revision_index_for_node, #size, #strip, #tip, #uncompressed_size_for_index, #unified_revision_diff

Methods included from Enumerable

#inject, #select_map

Constructor Details

#initialize(opener, bundle_file, link_mapper) ⇒ BundleManifest

Returns a new instance of BundleManifest.



224
225
226
227
228
229
# File 'lib/amp/revlogs/bundle_revlogs.rb', line 224

def initialize(opener, bundle_file, link_mapper)
  # This is the manifest initializer
  super(opener)
  # This is the bundle initializer
  bundle_initialize(opener, @index_file, bundle_file, link_mapper)
end