fs: split overgrown fs.go (#5405)

Nothing is added or removed and no package is renamed by this change.
Just rearrange definitions between source files in the fs directory.

New source files:
- types.go      Filesystem types and interfaces
- features.go   Features and optional interfaces
- registry.go   Filesystem registry and backend options
- newfs.go      NewFs and its helpers
- configmap.go  Getters and Setters for ConfigMap
- pacer.go      Pacer with logging and calculator
The final fs.go contains what is left.

Also rename options.go to open_options.go
to dissociate from registry options.
This commit is contained in:
Ivan Andreev
2021-06-14 14:42:49 +03:00
committed by GitHub
parent 3349b055f5
commit 80bccacd83
9 changed files with 1579 additions and 1514 deletions

1513
fs/fs.go

File diff suppressed because it is too large Load Diff