TotCS 0.0.7
dotnet add package TotCS --version 0.0.7
NuGet\Install-Package TotCS -Version 0.0.7
<PackageReference Include="TotCS" Version="0.0.7" />
paket add TotCS --version 0.0.7
#r "nuget: TotCS, 0.0.7"
// Install TotCS as a Cake Addin #addin nuget:?package=TotCS&version=0.0.7 // Install TotCS as a Cake Tool #tool nuget:?package=TotCS&version=0.0.7
🥇 Tot CS
Tot is a database file format for managing string data in a file. I would like to say markup-like database without indexing. It is using stream and position to efficiently track where the data is. And it is designed to handle massive data. But developer has full control over limitting the size of data in one tag. Eg. 65536 bytes in one tag. Tot is for replacing some jobs that database, JSON and XML do.
👨🏫 Notice
🎉 Releasing version 0.0.7
PLEASE USE THE LATEST VERSION.
- Now
Clean()
will not create extra.tmp
file for reserving changes. It still creates 1.tmp
file as a backup for safety. GetMultipleData()
is nowGetMultiple()
please update them. Queued version is changed as well. Change toQGetMultiple()
.SaveDictAsTot()
,SaveListAsTot()
,QSaveDictAsTot()
,QSaveListAsTot()
,GetAllByDict()
,GetAllByList
,QGetAllByDict()
andQGetAllByList
.
📢 Changes and deprecation in the future
In the future, GetAll()
may get deprecated or changed. Try GetAllByDict()
, GetAllByList
, QGetAllByDict()
and QGetAllByList
for your project.
📢 About how you handle data writes
Some cases Tot can cause lots of writing. It is sill better than writing whole file every time. I recommend avoid using HardRemove() or HardUpdate(). They only exist for small files. It is always better when we modify small data with Update() and Remove(). And use Clean() like once a day, a week or a month.
📖 Documents
Please read the rule of format for more information about Tot file format.
🛠 Requirements
Tot CS is built with .net 8.0 and Windows 10. I cannot guarantee that this will work in older versions of Windows or other OS and with other tools.
💪 Support Tot CS
👼 Become a Sponsor
🎁 Shop
👨💻 Author
💯 License
MIT, See LICENSE.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.