Sha256: e14f8315d82b04a8bb368992b583b08638b32e2a88ee3bf0c6be6f1a034daeda

Contents?: true

Size: 519 Bytes

Versions: 2

Compression:

Stored size: 519 Bytes

Contents

controller :controller do
  action :index do
    on_entry %{
      original_page = {
        _head: "head",
        _next: "next",
        _id: "id",
        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

2 entries across 2 versions & 1 rubygems

Version Path
flok-0.0.40 spec/kern/assets/vm/macros/copy_page_c.rb
flok-0.0.39 spec/kern/assets/vm/macros/copy_page_c.rb