package
0.0.0-20231109213423-8a2c9d08a1e4
Repository: https://github.com/csci1270-fall-2023/dbms-projects-handout.git
Documentation: pkg.go.dev

# Functions

Function to flush a page.
Function to flush all pages.
Function to get an existing page and pull; errors if requesting a page that has not been allocated.
Function to allocate a new page.
Function to pin a page.
Function to print out state of the pager.
Function to print out the contents of a page.
Function to unpin a page.
Function to write data to a page.
Construct a new Pager.
Creates a Pager REPL for testing the Pager with.

# Constants

pagenum for when there is no page being held.
Number of pages.
Page size - defaults to 4kb.

# Structs

A page is a unit that is read from and written to disk.
Pagers manage pages of data read from a file.