Skip to content

Split utils.hh #8913

@Ericson2314

Description

@Ericson2314

utils.hh currently contains a mix of pure functions (e.g. tokenizeString) and functions to deal with the operating system (file descriptors, filesystem, signals etc.). It is also quite large.

It should be split up by topic, and downstream files should only #include the pats they need.

See also #8901. I already started splitting it up in that, to avoid a sea of CPP. But the right order in which to do things is to split it up first.

Metadata

Metadata

Assignees

Labels

contributor-experienceDeveloper experience for Nix contributorsgood first issueQuick win for first-time contributorsidea approvedThe given proposal has been discussed and approved by the Nix team. An implementation is welcome.windows

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions