Sha256: a75b8de8ffc51ab32a79c332b0e0299ff89ed82b1e349e41611923db2587a282

Contents?: true

Size: 543 Bytes

Versions: 61

Compression:

Stored size: 543 Bytes

Contents

controller :controller do
  action :index do
    on_entry %{
      original_page = {
        _head: "head",
        _next: "next",
        _id: "id",
        _type: "array",
        entries: [
          {_id: "id", _sig: "sig"},
        ],
        _hash: "hash",
      };

      //One page done the right away, another, the wrong way
      copied_page = CopyPage(original_page);
      not_copied_page = original_page;

      //The copied page is now modified and does
      //not contain _hash
      copied_page._next = "test"
    }
  end
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
flok-0.0.105 spec/kern/assets/vm/macros/copy_page_c.rb
flok-0.0.103 spec/kern/assets/vm/macros/copy_page_c.rb
flok-0.0.102 spec/kern/assets/vm/macros/copy_page_c.rb
flok-0.0.101 spec/kern/assets/vm/macros/copy_page_c.rb
flok-0.0.100 spec/kern/assets/vm/macros/copy_page_c.rb
flok-0.0.99 spec/kern/assets/vm/macros/copy_page_c.rb
flok-0.0.98 spec/kern/assets/vm/macros/copy_page_c.rb
flok-0.0.97 spec/kern/assets/vm/macros/copy_page_c.rb
flok-0.0.96 spec/kern/assets/vm/macros/copy_page_c.rb
flok-0.0.95 spec/kern/assets/vm/macros/copy_page_c.rb
flok-0.0.94 spec/kern/assets/vm/macros/copy_page_c.rb
flok-0.0.93 spec/kern/assets/vm/macros/copy_page_c.rb
flok-0.0.92 spec/kern/assets/vm/macros/copy_page_c.rb
flok-0.0.91 spec/kern/assets/vm/macros/copy_page_c.rb
flok-0.0.90 spec/kern/assets/vm/macros/copy_page_c.rb
flok-0.0.89 spec/kern/assets/vm/macros/copy_page_c.rb
flok-0.0.88 spec/kern/assets/vm/macros/copy_page_c.rb
flok-0.0.87 spec/kern/assets/vm/macros/copy_page_c.rb
flok-0.0.86 spec/kern/assets/vm/macros/copy_page_c.rb
flok-0.0.85 spec/kern/assets/vm/macros/copy_page_c.rb