Download include/google/protobuf/compiler/code_generator_lite.h from Shenghong/dai_env: direct link, hf CLI and curl.
- Browser
- Download file 1.49 kB
-
https://huggingface.co/Shenghong/dai_env/resolve/main/include/google/protobuf/compiler/code_generator_lite.h
- Command line
-
hf download hf://Shenghong/dai_env/include/google/protobuf/compiler/code_generator_lite.h
-
curl -L -o code_generator_lite.h https://huggingface.co/Shenghong/dai_env/resolve/main/include/google/protobuf/compiler/code_generator_lite.h
1.49 kB
| // Protocol Buffers - Google's data interchange format | |
| // Copyright 2008-2024 Google Inc. All rights reserved. | |
| // | |
| // Use of this source code is governed by a BSD-style | |
| // license that can be found in the LICENSE file or at | |
| // https://developers.google.com/open-source/licenses/bsd | |
| // Must be included last. | |
| namespace google { | |
| namespace protobuf { | |
| namespace compiler { | |
| // Several code generators treat the parameter argument as holding a | |
| // list of options separated by commas. This helper function parses | |
| // a set of comma-delimited name/value pairs: e.g., | |
| // "foo=bar,baz,moo=corge" | |
| // parses to the pairs: | |
| // ("foo", "bar"), ("baz", ""), ("moo", "corge") | |
| PROTOC_EXPORT void ParseGeneratorParameter( | |
| absl::string_view, std::vector<std::pair<std::string, std::string> >*); | |
| // Strips ".proto" or ".protodevel" from the end of a filename. | |
| PROTOC_EXPORT std::string StripProto(absl::string_view filename); | |
| // Returns true if the proto path corresponds to a known feature file. | |
| PROTOC_EXPORT bool IsKnownFeatureProto(absl::string_view filename); | |
| } // namespace compiler | |
| } // namespace protobuf | |
| } // namespace google | |