MCPcopy Create free account
hub / github.com/benjitaylor/agentation / SourceLocation

Interface SourceLocation

package/src/utils/source-location.ts:26–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 * Source location information for a React component
25 */
26export interface SourceLocation {
27 /** Absolute or relative file path */
28 fileName: string;
29 /** Line number (1-indexed) */
30 lineNumber: number;
31 /** Column number (0-indexed, may be undefined) */
32 columnNumber?: number;
33 /** Component display name if available */
34 componentName?: string;
35 /** React version detected */
36 reactVersion?: string;
37}
38
39/**
40 * Result of source location detection

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…