ArchUnitTS - v2.2.0
    Preparing search index...

    Interface PatternMatchingOptions

    Pattern matching configuration for file checks

    interface PatternMatchingOptions {
        target?: PatternTarget;
        matching?: MatchingType;
    }
    Index

    Properties

    Properties

    target?: PatternTarget

    Whether to match against filename only or full relative path

    • 'filename': Only match against the filename (e.g., 'Service.ts' from 'src/services/Service.ts')
    • 'path': Match against the full relative path (e.g., 'src/services/Service.ts')
    'filename'
    
    matching?: MatchingType

    Whether to require the pattern to match the entire string or allow partial matches

    • 'exact': Pattern must match the entire target string
    • 'partial': Pattern can match any part of the target string
    'exact'