Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify loop to find out segments to be created
Doing it this way is simpler and it doesn't end up adding "/" to the list of folders, so it doesn't need to be removed later.
- Loading branch information