File: .lake/packages/lean4/src/lean/lake/Lake/Load/Materialize.lean

full_name: Lake.updateGitPkg
code: /-- Update the Git package in `repo` to `rev` if not already at it. -/
def updateGitPkg (name : String) (repo : GitRepo) (rev? : Option String) : LogIO PUnit 
goal: Lake.LogIO PUnit

full_name: Lake.cloneGitPkg
code: /-- Clone the Git package as `repo`. -/
def cloneGitPkg (name : String) (repo : GitRepo)
(url : String) (rev? : Option String) : LogIO PUnit 
goal: Lake.LogIO PUnit

full_name: Lake.updateGitRepo
code: /--
Update the Git repository from `url` in `repo` to `rev?`.
If `repo` is already from `url`, just checkout the new revision.
Otherwise, delete the local repository and clone a fresh copy from `url`.
-/
def updateGitRepo (name : String) (repo : GitRepo)
(url : String) (rev? : Option String) : LogIO Unit 
goal: Lake.LogIO Unit

full_name: Lake.materializeGitRepo
code: /--
Materialize the Git repository from `url` into `repo` at `rev?`.
Clone it if no local copy exists, otherwise update it.
-/
def materializeGitRepo (name : String) (repo : GitRepo)
(url : String) (rev? : Option String) : LogIO Unit 
goal: Lake.LogIO Unit

full_name: Lake.MaterializedDep.remoteUrl?
code: structure MaterializedDep where
  /-- Path to the materialized package relative to the workspace's root directory. -/
  relPkgDir : FilePath
  /--
  URL for the materialized package.
  Used as the endpoint from which to fetch cloud releases for the package.
  -/
  remoteUrl? : Option String
  /-- The manifest entry for the dependency. -/
  manifestEntry : PackageEntry
  deriving Inhabited
goal: Option String

full_name: Lake.MaterializedDep.manifestEntry
code: structure MaterializedDep where
  /-- Path to the materialized package relative to the workspace's root directory. -/
  relPkgDir : FilePath
  /--
  URL for the materialized package.
  Used as the endpoint from which to fetch cloud releases for the package.
  -/
  remoteUrl? : Option String
  /-- The manifest entry for the dependency. -/
  manifestEntry : PackageEntry
  deriving Inhabited
goal: Lake.PackageEntry

full_name: Lake.MaterializedDep.relPkgDir
code: structure MaterializedDep where
  /-- Path to the materialized package relative to the workspace's root directory. -/
  relPkgDir : FilePath
  /--
  URL for the materialized package.
  Used as the endpoint from which to fetch cloud releases for the package.
  -/
  remoteUrl? : Option String
  /-- The manifest entry for the dependency. -/
  manifestEntry : PackageEntry
  deriving Inhabited
goal: Lake.FilePath

full_name: Lake.instInhabitedMaterializedDep
code: structure MaterializedDep where
  /-- Path to the materialized package relative to the workspace's root directory. -/
  relPkgDir : FilePath
  /--
  URL for the materialized package.
  Used as the endpoint from which to fetch cloud releases for the package.
  -/
  remoteUrl? : Option String
  /-- The manifest entry for the dependency. -/
  manifestEntry : PackageEntry
  deriving Inhabited
goal: Inhabited Lake.MaterializedDep

full_name: Lake.MaterializedDep
code: structure MaterializedDep where
  /-- Path to the materialized package relative to the workspace's root directory. -/
  relPkgDir : FilePath
  /--
  URL for the materialized package.
  Used as the endpoint from which to fetch cloud releases for the package.
  -/
  remoteUrl? : Option String
  /-- The manifest entry for the dependency. -/
  manifestEntry : PackageEntry
  deriving Inhabited
goal: Type

full_name: Lake.MaterializedDep.name
code: @[inline] def MaterializedDep.name (self : MaterializedDep) 
goal: Lake.Name

full_name: Lake.MaterializedDep.manifestFile?
code: /-- Path to the dependency's configuration file (relative to `relPkgDir`). -/
@[inline] def MaterializedDep.manifestFile? (self : MaterializedDep) 
goal: Option Lake.FilePath

full_name: Lake.MaterializedDep.configFile
code: /-- Path to the dependency's configuration file (relative to `relPkgDir`). -/
@[inline] def MaterializedDep.configFile (self : MaterializedDep) 
goal: Lake.FilePath

full_name: Lake.Dependency.materialize.mkEntry
code: /--
Materializes a configuration dependency.
For Git dependencies, updates it to the latest input revision.
-/
def Dependency.materialize
  (dep : Dependency) (inherited : Bool)
  (lakeEnv : Env) (wsDir relPkgsDir relParentDir : FilePath)
: LogIO MaterializedDep 
goal: Lake.PackageEntry

full_name: Lake.Dependency.materialize
code: /--
Materializes a configuration dependency.
For Git dependencies, updates it to the latest input revision.
-/
def Dependency.materialize
  (dep : Dependency) (inherited : Bool)
  (lakeEnv : Env) (wsDir relPkgsDir relParentDir : FilePath)
: LogIO MaterializedDep 
goal: Lake.LogIO Lake.MaterializedDep

full_name: Lake.Dependency.materialize.materializeGit
code: /--
Materializes a configuration dependency.
For Git dependencies, updates it to the latest input revision.
-/
def Dependency.materialize
  (dep : Dependency) (inherited : Bool)
  (lakeEnv : Env) (wsDir relPkgsDir relParentDir : FilePath)
: LogIO MaterializedDep 
goal: Lake.LogIO Lake.MaterializedDep

full_name: Lake.PackageEntry.materialize
code: /--
Materializes a manifest package entry, cloning and/or checking it out as necessary.
-/
def PackageEntry.materialize
  (manifestEntry : PackageEntry)
  (lakeEnv : Env) (wsDir relPkgsDir : FilePath)
: LogIO MaterializedDep 
goal: Lake.LogIO Lake.MaterializedDep