FileStore
constructor(directory: Path, fileSystem: FileSystem = SystemFileSystem, clock: Clock = Clock.System)
Parameters
directory
where the items are kept. Created if it does not exist.
fileSystem
the file system to use; replaceable in tests.
clock
gives StoreItem.updatedAt. Two writes of one store never get the same time, so list keeps their order also with a clock that is not precise.