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

Allow to open BlueConfig from memory buffer #226

Closed
wants to merge 1 commit into from
Closed

Allow to open BlueConfig from memory buffer #226

wants to merge 1 commit into from

Conversation

tribal-tec
Copy link
Contributor

No description provided.

buffer << file.rdbuf();
}
else
buffer << source;
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't like this implementation very much because it will make errors about inexistent files misleading. What about another constructor that takes a char*?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I didn't want to advertise this as a real feature, hence hiding it behind the existing API was fine enough for me. It's purpose is not very useful anyways, as the BlueConfig just redirects to other paths. It's nice for a show-case, but in reality you have to open the file close to where all the other referenced entities reside.
So I'm gonna close this then.

Copy link
Contributor

Choose a reason for hiding this comment

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

Much more useful would be a remote file browser in Sauron ;)

@tribal-tec tribal-tec closed this Apr 26, 2018
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.

None yet

2 participants