mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2024-11-16 02:01:23 +00:00
25 lines
499 B
Protocol Buffer
25 lines
499 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option go_package = "github.com/mstg/srpmproc/pb;srpmprocpb";
|
|
|
|
package srpmproc;
|
|
|
|
// Replace directive replaces literal files with other files.
|
|
// Replacing content can either be inline or in the same patch-tree.
|
|
message Replace {
|
|
// required - replaced file
|
|
string file = 1;
|
|
|
|
oneof replacing {
|
|
// replace with in-tree file
|
|
string with_file = 2;
|
|
|
|
// replace with inline content
|
|
string with_inline = 3;
|
|
}
|
|
}
|
|
|
|
message Cfg {
|
|
repeated Replace replace = 1;
|
|
}
|