Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SolarLune/masterplan
/ AddPage
Method
AddPage
project.go:108–112 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
106
}
107
108
func
(project *Project) AddPage() *Page {
109
page := NewPage(project)
110
project.Pages = append(project.Pages, page)
111
return
page
112
}
113
114
func
(project *Project) RemovePage(page *Page) {
115
Callers
2
NewProject
Function · 0.95
OpenProjectFrom
Function · 0.95
Calls
1
NewPage
Function · 0.85
Tested by
no test coverage detected