MCPcopy
hub / github.com/di-sukharev/opencommit / format

Method format

out/cli.cjs:57731–57745  ·  view source on GitHub ↗
(pendingInterceptors)

Source from the content-addressed store, hash-verified

57729 });
57730 this.logger = new Console({
57731 stdout: this.transform,
57732 inspectOptions: {
57733 colors: !disableColors && !process.env.CI
57734 }
57735 });
57736 }
57737 format(pendingInterceptors) {
57738 const withPrettyHeaders = pendingInterceptors.map(
57739 ({ method, path: path5, data: { statusCode }, persist, times, timesInvoked, origin: origin2 }) => ({
57740 Method: method,
57741 Origin: origin2,
57742 Path: path5,
57743 "Status code": statusCode,
57744 Persistent: persist ? "\u2705" : "\u274C",
57745 Invocations: timesInvoked,
57746 Remaining: persist ? Infinity : times - timesInvoked
57747 })
57748 );

Callers

nothing calls this directly

Calls 3

tableMethod · 0.80
toStringMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected