Added .gitignore and configuration files, updated mounts_linux.go #294
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Recently I upgraded my wsl distro from Ubuntu 22.04 to Ubuntu 24.04. When calling duf I recognized an error: "panic: runtime error: index out of range [11] with length 11", the cause of this is a line in /proc/self/mountinfo which contains a line for "/Docker/host" which contains itself unescaped path info referencing C:\Program Files" I changed the code so that it works agoin under wsl with Ubuntu 24.04.
The mounts_linux.go file has been updated with improved handling of comments, empty lines, and Windows-style paths. A helper function was also introduced to fix unescaped spaces in Windows-style paths.
New .gitignore file has been added to the project, specifying default ignored files. Several IntelliJ IDEA configuration files have also been introduced, including module settings, VCS mappings, and project modules. These changes aim to improve the development environment setup for contributors using this specific IDE.