Bitbucket Data Center API Client
    Preparing search index...

    Interface CodeSearchCodeHit

    A file matching a code search query.

    interface CodeSearchCodeHit {
        file: string;
        hitContexts?: CodeSearchHitContextLine[][];
        hitCount?: number;
        repository: BitbucketRepository;
    }
    Index

    Properties

    file: string

    Path of the matching file in the repository

    hitContexts?: CodeSearchHitContextLine[][]

    Groups of contiguous matching lines (one group per hit region)

    hitCount?: number

    Number of matches in the file