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 (dependenciesFile, lockFile)
Signature: (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 lockFile
Signature: lockFile:LockFile -> unit

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

discoverDirectExtractedPackages (...)
Signature: groupName:GroupName -> groupPackagesDirectory:DirectoryInfo -> 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