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

Adding support for Globs and easy dealing with directories #4

Open
nsomar opened this issue Nov 19, 2015 · 0 comments
Open

Adding support for Globs and easy dealing with directories #4

nsomar opened this issue Nov 19, 2015 · 0 comments

Comments

@nsomar
Copy link
Owner

nsomar commented Nov 19, 2015

The idea is to add support for globs and quickly iterating a directory. I think it would look very similar to how ruby solves that. Check the documentation for http://ruby-doc.org/core-1.9.3/Dir.html

We can think about translating the following ruby examples to swift

  • Dir["/**"] expand the glob and return all the matching files
  • Dir.chdir change the current directory
  • Dir.foreach(directory) enumerates the files in the directory
  • and so on...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant