Welcome to mirror list, hosted at ThFree Co, Russian Federation.

manifest.cpp « bundle « apphost « cli « corehost « installer « src - github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6de65d3a96b45a099118fc24fc26a2a789de32bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

#include "manifest.h"

using namespace bundle;

manifest_t manifest_t::read(reader_t& reader, int32_t num_files)
{
    manifest_t manifest;

    for (int32_t i = 0; i < num_files; i++)
    {
        manifest.files.emplace_back(file_entry_t::read(reader));
    }

    return manifest;
}