Skip to content

Commit

Permalink
Merge pull request #4 from psrenergy/feature/minor
Browse files Browse the repository at this point in the history
Remove Manifest.toml
  • Loading branch information
raphasampaio authored Sep 9, 2024
2 parents 4949b4e + 340bf9e commit 27f63ca
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 319 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ docs/site/
# It records a fixed state of all packages used by the project. As such, it should not be
# committed for packages, but should be committed for applications that require a static
# environment.
# Manifest.toml

Manifest.toml
format/Manifest.toml
revise/Manifest.toml

Expand Down
306 changes: 0 additions & 306 deletions Manifest.toml

This file was deleted.

2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "PSRBridge"
uuid = "c616c425-6d4e-4525-9781-0810509229d1"
version = "0.5.0"
version = "0.6.0"

[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand Down
12 changes: 2 additions & 10 deletions src/cache.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,10 @@ struct Cache
path::String

function Cache(; verbose::Bool = false)
path = joinpath(tempdir(), randstring(16))

if isdir(path)
rm(path; recursive = true)
end

path = mktempdir()
if verbose
println("Initialize cache: $path")
end

mkdir(path)

return new(verbose, path)
end
end
Expand All @@ -31,7 +23,7 @@ function finalize!(cache::Cache)
end

function format_value(value::Any)::String
return "$value"
return string(value)
end

function format_value(value::DateTime)::String
Expand Down

0 comments on commit 27f63ca

Please sign in to comment.