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

Use tree instead of flat structure for files internally and in theming? #15

Closed
KyleAMathews opened this issue Aug 3, 2015 · 2 comments
Labels
type: question or discussion Issue discussing or asking a question about Gatsby

Comments

@KyleAMathews
Copy link
Contributor

This might simplify some things + make code more efficient as it doesn't have to scan all files in order to find some subset of files (e.g. all files owned by a template).

Broccoli would be a source of inspiration / potentially code if we move this direction.

@KyleAMathews KyleAMathews added the type: question or discussion Issue discussing or asking a question about Gatsby label Aug 3, 2015
@KyleAMathews
Copy link
Contributor Author

Or perhaps store file data in an object indexed by path and then precompute other possible indices (e.g. a template's children). Having a tree of files would be useful still.

@KyleAMathews
Copy link
Contributor Author

Nah

pragmaticpat pushed a commit to pragmaticpat/gatsby that referenced this issue Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question or discussion Issue discussing or asking a question about Gatsby
Projects
None yet
Development

No branches or pull requests

1 participant