Skip to content

Commit 77cef7f

Browse files
committed
better instruction for registry
1 parent 3ae36a8 commit 77cef7f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ file format.
3939

4040
## Adding new formats
4141

42-
You register a new format by calling `add_format(fmt, magic,
43-
extension)`. `fmt` is a `DataFormat` type, most conveniently created
42+
You register a new format by adding `add_format(fmt, magic,
43+
extension)` to the [registry](https://github.com/JuliaIO/FileIO.jl/blob/master/src/registry.jl). To do so, please just open a pull request (you can just edit the file in Github).
44+
`fmt` is a `DataFormat` type, most conveniently created
4445
as `format"IDENTIFIER"`. `magic` typically contains the magic bytes
4546
that identify the format. Here are some examples:
4647

0 commit comments

Comments
 (0)