Sha256: f837cdb5efc32f728cdf8107bc44ab01751a0450bf4968125d152dd5006e2440

Contents?: true

Size: 645 Bytes

Versions: 1

Compression:

Stored size: 645 Bytes

Contents

controller :my_controller do
  services :vm

  action :my_action do
    on_entry %{
      var entry = {
        hello: "world"
      }

      var entry2 = {
        hello: "world"
      }


      page = NewPage("test");
      SetPageHead(page, "head");
      SetPageNext(page, "next");
      EntryInsert(page, 0, entry);

      var write_info = {
        ns: "local0",
        page: page
      };

      page2 = CopyPage(page);
      EntryInsert(page2, 0, entry);

      var write_info2 = {
        ns: "local1",
        page: page2
      };


      Request("vm", "write", write_info);
      Request("vm", "write", write_info2);
    }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flok-0.0.41 spec/kern/assets/vm/pg_mem/write2.rb