Skip to content

Commit 65c125c

Browse files
committed
Update readme on extensions
1 parent 23768ea commit 65c125c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,11 @@ Only one basket per branch will be cached so you don't have to worry about runni
186186
At the same time, `event` inside the for-loop is not materialized until a field is accessed. This means you should avoid double-access,
187187
see [performance tips](https://juliahep.github.io/UnROOT.jl/dev/performancetips/#Don't-%22double-access%22)
188188
189-
XRootD is also supported, depending on the protocol:
189+
XRootD is also supported via [extensions](https://pkgdocs.julialang.org/v1/creating-packages/#Conditional-loading-of-code-in-packages-(Extensions)),
190+
depending on the protocol, either `using XRootD` or `using HTTP`:
190191
- the "url" has to start with `http://` or `https://`:
191192
- (1.6+ only) or the "url" has to start with `root://` and have another `//` to separate server and file path
193+
192194
```julia
193195
julia> r = ROOTFile("https://scikit-hep.org/uproot3/examples/Zmumu.root")
194196
ROOTFile with 1 entry and 18 streamers.

0 commit comments

Comments
 (0)