Skip to content

Commit

Permalink
Bump minor version number.
Browse files Browse the repository at this point in the history
  • Loading branch information
rofinn committed May 1, 2020
1 parent 926b5a4 commit 26c9484
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "FileIO"
uuid = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549"
version = "1.2.4"
version = "1.3.0"

[deps]
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Expand Down
4 changes: 2 additions & 2 deletions src/loadsave.jl
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ savestreaming
# if a bare filename or IO stream are given, query for the format and dispatch
# to the formatted handlers below
for fn in (:load, :loadstreaming, :save, :savestreaming, :metadata)
@eval $fn(s, args...; options...) = $fn(query(s), args...; options...)
@eval $fn(file, args...; options...) = $fn(query(file), args...; options...)
end

# return a save function, so you can do `thing_to_save |> save("filename.ext")`
save(s; options...) = data -> save(s, data; options...)
save(file; options...) = data -> save(file, data; options...)

# Allow format to be overridden with first argument
function save(df::Type{DataFormat{sym}}, filename, data...; options...) where sym
Expand Down

0 comments on commit 26c9484

Please sign in to comment.