Skip to content

Commit 25863a0

Browse files
committed
Resolve Sequoia symlinks pr issues
commit_hash:a5286241bbc75c5b741b949e85be085dee8c9c3d
1 parent a6b59a0 commit 25863a0

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

yt/yt/client/object_client/helpers.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ bool IsScalarType(EObjectType type)
2121
type == EObjectType::BooleanNode;
2222
}
2323

24+
bool IsSequoiaNode(NObjectClient::EObjectType type)
25+
{
26+
return
27+
type == EObjectType::SequoiaMapNode ||
28+
type == EObjectType::SequoiaLink;
29+
}
30+
2431
bool IsVersionedType(EObjectType type)
2532
{
2633
return

yt/yt/client/object_client/helpers.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ namespace NYT::NObjectClient {
1717
//! Function for temporary use: to gradually allow types supported in Sequoia.
1818
bool IsScalarType(NObjectClient::EObjectType type);
1919

20+
//! Checks if the given type is a Sequoia node.
21+
bool IsSequoiaNode(NObjectClient::EObjectType type);
22+
2023
//! Creates the YPath pointing to an object with a given #id.
2124
NYPath::TYPath FromObjectId(TObjectId id);
2225

0 commit comments

Comments
 (0)