ui/server/src/pageSource
Pages Editor source view: the full text of one page file plus live diagnostics for it.
Cockpit server, v0.8. Source: ui/server/src/pageSource.mjs.
Functions#
readPageSource()#
readPageSource(
root,feature,file):object
Defined in: ui/server/src/pageSource.mjs:9
Parameters#
root
any
feature
any
file
any
Returns#
object
contentHash
contentHash:
any
diagnostics
diagnostics:
any
source
source:
any