Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a method to check if a path exists #57

Open
cchampet opened this issue Jun 10, 2016 · 1 comment
Open

Add a method to check if a path exists #57

cchampet opened this issue Jun 10, 2016 · 1 comment
Assignees
Labels

Comments

@cchampet
Copy link
Collaborator

The path could be a file/folder/link/sequence.

@cchampet
Copy link
Collaborator Author

Something like:

bool exists(const std::string& pathStr)
{
    if(bfs::exists(pathStr))
		return true; // file, link, or directory
    Sequence outSequence;
    return browseSequence(outSequence, pathStr);
}

But browseSequence seems to not work...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants