File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ function del_format{sym}(fmt::Type{DataFormat{sym}})
126
126
nothing
127
127
end
128
128
129
- # Deletes mutliple magic bytes
129
+ # Deletes multiple magic bytes
130
130
del_magic (magic:: Tuple , sym) = for m in magic
131
131
del_magic (m, sym)
132
132
end
@@ -358,7 +358,8 @@ unknown{F}(::Stream{F}) = unknown(F)
358
358
359
359
"""
360
360
`query(filename)` returns a `File` object with information about the
361
- format inferred from the file's extension and/or magic bytes."""
361
+ format inferred from the file's extension and/or magic bytes.
362
+ """
362
363
function query (filename:: AbstractString )
363
364
_, ext = splitext (filename)
364
365
if haskey (ext2sym, ext)
@@ -394,7 +395,8 @@ hasfunction(s::Tuple) = false #has magic
394
395
395
396
"""
396
397
`query(io, [filename])` returns a `Stream` object with information about the
397
- format inferred from the magic bytes."""
398
+ format inferred from the magic bytes.
399
+ """
398
400
query (io:: IO , filename) = query (io, Nullable (String (filename)))
399
401
400
402
function query (io:: IO , filename:: Nullable{String} = Nullable {String} ())
You can’t perform that action at this time.
0 commit comments