Skip to content

Commit e105583

Browse files
committed
Remove dead code
1 parent 5a6a713 commit e105583

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

src/nix/upgrade-nix.cc

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@
1515

1616
using namespace nix;
1717

18-
/**
19-
* Check whether a path has a "profiles" component.
20-
*/
21-
static bool hasProfilesComponent(const std::filesystem::path & path)
22-
{
23-
return std::ranges::contains(path, OS_STR("profiles"));
24-
}
25-
2618
/**
2719
* Settings related to upgrading Nix itself.
2820
*/

0 commit comments

Comments
 (0)