File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
yt/yt/client/object_client Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,13 @@ bool IsScalarType(EObjectType type)
21
21
type == EObjectType::BooleanNode;
22
22
}
23
23
24
+ bool IsSequoiaNode (NObjectClient::EObjectType type)
25
+ {
26
+ return
27
+ type == EObjectType::SequoiaMapNode ||
28
+ type == EObjectType::SequoiaLink;
29
+ }
30
+
24
31
bool IsVersionedType (EObjectType type)
25
32
{
26
33
return
Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ namespace NYT::NObjectClient {
17
17
// ! Function for temporary use: to gradually allow types supported in Sequoia.
18
18
bool IsScalarType (NObjectClient::EObjectType type);
19
19
20
+ // ! Checks if the given type is a Sequoia node.
21
+ bool IsSequoiaNode (NObjectClient::EObjectType type);
22
+
20
23
// ! Creates the YPath pointing to an object with a given #id.
21
24
NYPath::TYPath FromObjectId (TObjectId id);
22
25
You can’t perform that action at this time.
0 commit comments