Angular Modernizer
    Preparing search index...

    Metadata about a changed file. Provides context for AI analysis and decision-making.

    {
    size: { old: 1250, new: 1420 },
    lines: { old: 45, new: 52 },
    encoding: 'utf-8',
    language: 'typescript',
    permissions: { old: '644', new: '644' },
    lastModified: '2025-12-22T10:30:00Z',
    confidence: 0.95
    }
    interface FileMetadata {
        confidence: number;
        encoding: string;
        language: string;
        lastModified?: string;
        lines: { new: number; old: number };
        permissions?: { new: string; old: string };
        size: { new: number; old: number };
    }
    Index

    Properties

    confidence: number

    Confidence in file type detection (0.0 - 1.0). Used when FileType is inferred rather than explicit.

    encoding: string

    File encoding.

    'utf-8'
    
    language: string

    Programming language.

    'typescript', 'javascript', 'json', 'html', 'css'
    
    lastModified?: string

    Last modification timestamp (ISO 8601).

    '2025-12-22T10:30:00Z'
    
    lines: { new: number; old: number }

    Total line count.

    Type Declaration

    • new: number

      Line count after the change.

    • old: number

      Line count before the change.

    permissions?: { new: string; old: string }

    File permissions (Unix format).

    Type Declaration

    • new: string

      Mode after the change.

    • old: string

      Mode before the change.

    '644', '755'
    
    size: { new: number; old: number }

    File size in bytes.

    Type Declaration

    • new: number

      Size after the change.

    • old: number

      Size before the change.