Skip to content

Commit 6a05a39

Browse files
authored
Merge pull request #674 from Mashimiao/consistent-filesystem
replace file system with filesystem to keep consistent
2 parents 3437101 + 03a3dee commit 6a05a39

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

HACKING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ $ make validate-examples
3636
### Virtual schema http/FileSystem
3737

3838
The `schema` validator uses a virtual [http/FileSystem](https://golang.org/pkg/net/http/#FileSystem) to load the JSON schema files for validating OCI images and/or manifests.
39-
The virtual file system is generated using the `esc` tool and compiled into consumers of the `schema` package so the JSON schema files don't have to be distributed along with and consumer binaries.
39+
The virtual filesystem is generated using the `esc` tool and compiled into consumers of the `schema` package so the JSON schema files don't have to be distributed along with and consumer binaries.
4040

41-
Whenever changes are being done in any of the `schema/*.json` files, one must refresh the generated virtual file system.
41+
Whenever changes are being done in any of the `schema/*.json` files, one must refresh the generated virtual filesystem.
4242
Otherwise schema changes will not be visible inside `schema` consumers.
4343

4444
Prerequisites:

schema/schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var (
4545
}
4646
)
4747

48-
// FileSystem returns an in-memory file system including the schema files.
48+
// FileSystem returns an in-memory filesystem including the schema files.
4949
// The schema files are located at the root directory.
5050
func FileSystem() http.FileSystem {
5151
return fs

0 commit comments

Comments
 (0)