Peponi.FreeSpaceManagement
1.0.2
dotnet add package Peponi.FreeSpaceManagement --version 1.0.2
NuGet\Install-Package Peponi.FreeSpaceManagement -Version 1.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Peponi.FreeSpaceManagement" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Peponi.FreeSpaceManagement --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Peponi.FreeSpaceManagement, 1.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Peponi.FreeSpaceManagement as a Cake Addin #addin nuget:?package=Peponi.FreeSpaceManagement&version=1.0.2 // Install Peponi.FreeSpaceManagement as a Cake Tool #tool nuget:?package=Peponi.FreeSpaceManagement&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Peponi.FreeSpaceManagement
1. Instruction
- This package is under MIT License.
- GitHub : Peponi
- Blog : Peponi
- Instruction & API information is on following section
1.1. About Peponi.FreeSpaceManagement
Peponi.FreeSpaceManagement is a package for maintaining free space of storage.
Base concepts are:
1. Remove oldest file
- Automatically remove oldest file when free space is under setted disk preserve percent value
1.1.1. Peponi.FreeSpaceManagement license
The MIT License (MIT)
Copyright (c) 2024 peponi
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
1.1.2. Peponi.FreeSpaceManagement install
NuGet\Install-Package Peponi.FreeSpaceManagement
2. Peponi.FreeSpaceManagement
2.1. FreeSpaceManager
Members
Type Name Description string RootPath File management base folder int DiskPreservePercent Minimum free space % bool IsRunning Indicates manager thread is running Methods
Return type Name Description FreeSpaceManager FreeSpaceManager(string, int) Default constructor void StartManager() Start manager thread void StopManager() Stop manager thread Example
using Peponi.StorageManagement; internal class Program { private static void Main(string[] args) { FreeSpaceManager manager = new(@"C:\Temp\test\", 30); manager.StartManager(); manager.StopManager(); } }
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- Peponi.Core (>= 1.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version 1.0.2:
- Add package icon
Version 1.0.1:
- Fix comments error
Version 1.0.0:
- Initial upload