MCPcopy Index your code
hub / github.com/nodeSolidServer/node-solid-server / stat

Method stat

lib/ldp.mjs:71–78  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

69 }
70
71 async stat (file) {
72 return new Promise((resolve, reject) => {
73 fs.stat(file, (err, stats) => {
74 if (err) return reject(error(err, "Can't read metadata of " + file))
75 resolve(stats)
76 })
77 })
78 }
79
80 async readResource (url) {
81 try {

Callers 9

getMethod · 0.95
deleteMethod · 0.95
addContainerStatsFunction · 0.80
addFileFunction · 0.80
addStatsFunction · 0.80
getMetadataGraphFunction · 0.80
handlerFunction · 0.80
ldp-test.mjsFile · 0.80
validPathFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected