Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/violentmonkey/violentmonkey
/ fromXML
Method
fromXML
src/background/sync/webdav.js:27–31 ·
view source on GitHub ↗
(xml)
Source
from the content-addressed store, hash-verified
25
}
26
27
static fromXML(xml) {
28
const
parser =
new
DOMParser();
29
const
doc = parser.parseFromString(xml,
'application/xml'
);
30
return
new
XNode(doc);
31
}
32
33
parseAttrs() {
34
const
{ node, nsMap } = this;
Callers
1
readdir
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected