Debian Codegraph @

plugins/vcs/CommitMetadata.h

raw
1 #pragma once
2
3 #include <string>
4
5 namespace vcs
6 {
7
8 namespace git
9 {
10
11 struct CommitMetadata
12 {
13 std::string name;
14 std::string email;
15 std::string message;
16
17 bool isValid() const
18 {
19 return !name.empty() && !email.empty() && !message.empty();
20 }
21 };
22
23 }
24
25 }