Skip to content

Commit

Permalink
add exfiltrated alias
Browse files Browse the repository at this point in the history
  • Loading branch information
pfitzseb committed Jun 7, 2021
1 parent 97a71ff commit d7bbc59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "Infiltrator"
uuid = "5903a43b-9cc3-4c30-8d17-598619ec4e9b"
version = "1.0.0"
version = "1.0.1"

[deps]
REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
Expand Down
4 changes: 3 additions & 1 deletion src/Infiltrator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ using REPL.LineEdit: getproperty
using REPL
using REPL.LineEdit

export @infiltrate, @exfiltrate, @withstore, safehouse
export @infiltrate, @exfiltrate, @withstore, safehouse, exfiltrated

REPL_HOOKED = Ref{Bool}(false)
function __init__()
Expand Down Expand Up @@ -105,11 +105,13 @@ Base.propertynames(s::Session) = keys(get_store_names(s))
"""
store
safehouse
exfiltrated
Global storage for storing values while `@infiltrate`ing or `@exfiltrate`ing.
"""
const store = Session(Module(), false, Set())
const safehouse = store
const exfiltrated = store

"""
@withstore ex
Expand Down

0 comments on commit d7bbc59

Please sign in to comment.