MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / XPathIo

Method XPathIo

src/basicio.cpp:864–871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

862
863#if EXV_XPATH_MEMIO
864XPathIo::XPathIo(const std::string& path) {
865 Protocol prot = fileProtocol(path);
866
867 if (prot == pStdin)
868 ReadStdin();
869 else if (prot == pDataUri)
870 ReadDataUri(path);
871}
872
873void XPathIo::ReadStdin() {
874 if (isatty(fileno(stdin)))

Callers

nothing calls this directly

Calls 2

fileProtocolFunction · 0.85
pathFunction · 0.85

Tested by

no test coverage detected