google / google/jimfs

Empty filesystem contains a "work" dir (that shouldn't be there)

Open
#74 6 comments 0 reactions 0 assignees View on GitHub
P3
Dominant language
Java
Stars
2.6k
Forks
296
Avg merge
9m
Merged PRs (30d)
7

Description

Hi,
first of all, thanks for this library. I'm trying to use it, but the following code (in Kotlin)...

`val fs = Jimfs.newFileSystem(Configuration.unix())`
`val rootDir = fs.getPath("/")`
`Files.newDirectoryStream(rootDir).forEach { println(it) }`

...prints...

`/work`

Am I doing something wrong? As far as I can understand, that dir shouldn't be there.

Thanks again for your work!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.