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

stats.size seems to be always 0 on Windows #12

Open
paulocoghi opened this issue Jul 21, 2020 · 1 comment
Open

stats.size seems to be always 0 on Windows #12

paulocoghi opened this issue Jul 21, 2020 · 1 comment
Labels
good first issue Good for newcomers

Comments

@paulocoghi
Copy link
Member

When Pulsa checks the file size to determine if it is below the max size, in order to be cached on RAM, on Windows it seems that stats.size is always 0.

This need to be investigated, since Pulsa on Windows may transfer all files to RAM, which is undesirable on large projects.

@paulocoghi
Copy link
Member Author

The task is, in the end, create a non-void text file and read it using fs.statSync on Windows. If the property size from the result object is 0, the we need to open an issue on the NodeJS repository informing the problem.

@paulocoghi paulocoghi added the good first issue Good for newcomers label Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant