Git Product home page Git Product logo

Comments (4)

kilobyte avatar kilobyte commented on August 29, 2024

The man page has a more detailed explanation, but you're right, as README mentions all other fields, it should say what's "Type" as well.

I added a line, is this enough?

from compsize.

ProBackup-nl avatar ProBackup-nl commented on August 29, 2024

Even after reading https://github.com/kilobyte/compsize/blob/master/compsize.8 it is still not clear to me what "Data" and "none" are.

It feels like "none" means "not compressed". Then 100% is redundant for that line.
Also redundant is the column header "Perc" and value "..%" -> "C.ratio" (value=1-current printed %)), and "Type" means "Compression type".

Still no clue what "compression type = Data" means.

from compsize.

kilobyte avatar kilobyte commented on August 29, 2024

It feels like "none" means "not compressed". Then 100% is redundant for that line.

Yeah, 100% is redundant, but a table looks better with this. A different placeholder such as -- or N/A wouldn't probably be an improvement.

Still no clue what "compression type = Data" means.

What about "TOTAL", in all caps, to mark it apart from rows it's a sum of?

from compsize.

ProBackup-nl avatar ProBackup-nl commented on August 29, 2024

When "Data" is a total, it at least be at the bottom, below the lines it sums.
Preferably marked by a dashed line:

Type       Ratio     Disk Usage   Uncompressed Referenced
none          0%     1.4G         1.4G         1.7G
zstd         57%     574K         1.2M         1.2M
---------  -----  -------      -------      -------
total         1%     1.4G         1.4G         1.7G

from compsize.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.