mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
59ee3033c9
Reviewed By: farnz Differential Revision: D27794480 fbshipit-source-id: 5e3643ea0124e22e78744d9cc45e4ec9cf1da8b2
35 lines
1.1 KiB
Thrift
35 lines
1.1 KiB
Thrift
// @generated SignedSource<<337f0703e62d28241a395739f0f6d6e3>>
|
|
// DO NOT EDIT THIS FILE MANUALLY!
|
|
// This file is a mechanical copy of the version in the configerator repo. To
|
|
// modify it, edit the copy in the configerator repo instead and copy it over by
|
|
// running the following in your fbcode directory:
|
|
//
|
|
// configerator-thrift-updater scm/mononoke/megarepo/version_cconf_index.thrift
|
|
|
|
include "configerator/structs/scm/mononoke/megarepo/megarepo_configs.thrift"
|
|
|
|
namespace cpp2 facebook.scm.service
|
|
namespace py3 scm.service.thrift
|
|
namespace py scm.service.thrift.version_cconf_index
|
|
|
|
/// Relative path of a .cconf file, which has an expected config value
|
|
typedef string CconfPath
|
|
|
|
/// Versions of all the SyncTargetConfigs for a given Target
|
|
struct TargetConfigVersions {
|
|
/// Target
|
|
1: megarepo_configs.Target target,
|
|
/// A version -> cconf path mapping for easy file lookup
|
|
2: map<megarepo_configs.SyncConfigVersion, CconfPath> config_paths,
|
|
}
|
|
|
|
/// An mapping from target versions to cconf files
|
|
/// in the configstore directory
|
|
struct MegarepoTargetVersionsCconfIndex {
|
|
/// All megarepo targets
|
|
1: list<TargetConfigVersions> targets,
|
|
}
|
|
|
|
|
|
|