MCPcopy Index your code
hub / github.com/OneNoteDev/WebClipper / getBatchedPageTitle

Function getBatchedPageTitle

src/scripts/stringUtils.ts:106–109  ·  view source on GitHub ↗
(titleOfDocument: string, pageIndex: number)

Source from the content-addressed store, hash-verified

104 }
105
106 export function getBatchedPageTitle(titleOfDocument: string, pageIndex: number): string {
107 const firstPageNumberAsString = (pageIndex + 1).toString();
108 return titleOfDocument + ": " + Localization.getLocalizedString("WebClipper.Label.Page") + " " + firstPageNumberAsString;
109 }
110
111 export function generateGuid(): string {
112 return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, c => {

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected