You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: base/initdefs.jl
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -73,13 +73,21 @@ environment variable if set.
73
73
Each entry in `DEPOT_PATH` is a path to a directory which contains subdirectories used by Julia for various purposes.
74
74
Here is an overview of some of the subdirectories that may exist in a depot:
75
75
76
+
* `artifacts`: Contains content that packages use for which Pkg manages the installation of.
76
77
* `clones`: Contains full clones of package repos. Maintained by `Pkg.jl` and used as a cache.
78
+
* `config`: Contains julia-level configuration such as a `startup.jl`
77
79
* `compiled`: Contains precompiled `*.ji` files for packages. Maintained by Julia.
78
80
* `dev`: Default directory for `Pkg.develop`. Maintained by `Pkg.jl` and the user.
79
81
* `environments`: Default package environments. For instance the global environment for a specific julia version. Maintained by `Pkg.jl`.
80
82
* `logs`: Contains logs of `Pkg` and `REPL` operations. Maintained by `Pkg.jl` and `Julia`.
81
83
* `packages`: Contains packages, some of which were explicitly installed and some which are implicit dependencies. Maintained by `Pkg.jl`.
82
84
* `registries`: Contains package registries. By default only `General`. Maintained by `Pkg.jl`.
85
+
* `scratchspaces`: Contains content that a package itself installs via the [`Scratch.jl`](https://github.com/JuliaPackaging/Scratch.jl) package. `Pkg.gc()` will delete content that is known to be unused.
86
+
87
+
!!! note
88
+
Packages that want to store content should use the `scratchspaces` subdirectory via
89
+
[`Scratch.jl`](https://github.com/JuliaPackaging/Scratch.jl) instead of creating new
90
+
subdirectories in the depot root.
83
91
84
92
See also [`JULIA_DEPOT_PATH`](@ref JULIA_DEPOT_PATH), and
0 commit comments