// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. package model type FileInfoSearchMatches map[string][]string type FileInfoSearchResults struct { *FileInfoList Matches FileInfoSearchMatches `json:"matches"` } func MakeFileInfoSearchResults(fileInfos *FileInfoList, matches FileInfoSearchMatches) *FileInfoSearchResults { return &FileInfoSearchResults{ fileInfos, matches, } }