Paket


GarbageCollection

Namespace: Paket

Contains methods for the garbage collection of no longer needed files.

Nested types and modules

TypeDescription
ExtractedPackage

Functions and values

Function or valueDescription
CleanUp (...)
Signature: (root:string * dependenciesFile:DependenciesFile * lockFile:LockFile) -> unit

Remove all packages from the packages folder which are not part of the lock file.

cleanupCaches dependenciesFile lockFile
Signature: dependenciesFile:DependenciesFile -> lockFile:LockFile -> unit
deleteUnusedPackages root lockFile
Signature: root:string -> lockFile:LockFile -> unit

Remove all packages from the packages folder which are not part of the lock file.

discoverExtractedPackages root
Signature: root:string -> ExtractedPackage list

Discover all packages currently available in the packages folder

removeOlderVersionsFromCache (...)
Signature: (cache:Cache * packageName:PackageName * versions:seq<SemVerInfo>) -> unit

Removes older packages from the cache

Fork me on GitHub