Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ampproject/amphtml
/ isRtvMode
Function
isRtvMode
build-system/server/app-utils.js:65–67 ·
view source on GitHub ↗
(serveMode)
Source
from the content-addressed store, hash-verified
63
* @
return
{boolean}
64
*/
65
const
isRtvMode = (serveMode) => {
66
return
/^\d{15}$/.test(serveMode);
67
};
68
69
/**
70
* @param {string=} pathPattern
Callers
4
isValidServeMode
Function · 0.85
setServeMode
Function · 0.85
logServeMode
Function · 0.85
replaceCdnJsUrls
Function · 0.85
Calls
1
test
Method · 0.45
Tested by
no test coverage detected