feat: warnings when instance resources are linked
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
9f441a9678
commit
a1053a4c5a
13 changed files with 179 additions and 3 deletions
|
@ -1641,5 +1641,9 @@ bool canLink(const QString& src, const QString& dst)
|
|||
return canLinkOnFS(src) && canLinkOnFS(dst);
|
||||
}
|
||||
|
||||
uintmax_t hardLinkCount(const QString& path)
|
||||
{
|
||||
return fs::hard_link_count(StringUtils::toStdString(path));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue