MCPcopy Create free account
hub / github.com/xpf0000/FlyEnv / toString

Method toString

src/fork/module/Image/ImageInfoFetchTask.ts:220–225  ·  view source on GitHub ↗

* 获取基础信息(用于调试)

()

Source from the content-addressed store, hash-verified

218 * 获取基础信息(用于调试)
219 */
220 toString(): string {
221 if (this.hasError) {
222 return `ImageInfoFetchTask: ${this.path} - 错误: ${this.errorMessage}`
223 }
224 return `ImageInfoFetchTask: ${this.path} - ${this.width}x${this.height} ${this.ext} ${this.sizeFormatted}`
225 }
226}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected