Skip to content

Conversation

@mochidaz
Copy link
Member

No description provided.

std::filesystem::path path(path_str);
std::error_code err;
assert(std::filesystem::exists(path, err) && "Path did not exists");
std::list<FileTreeMap::iterator> list;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


std::shared_ptr<FileTree> tree;

if (fs::path(p).filename() == ".git") {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make a std::vector of excluded directory name and compare using it, rather than just a string

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably by putting the excluded directories inside the config file after config parser is done and then pushing the directories into an std::vector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants