Re: readable filesize package

From: Date: Fri, 19 Nov 2004 18:40:04 +0000
Subject: Re: readable filesize package
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-34451@lists.php.net to get a copy of this message
On Fri, 19 Nov 2004 19:40:05 +0100, Christian Weiske <cweiske@cweiske.de> wrote: > Hello all, > > While programming a file browser, I came to the problem of displaying > the filesize in a human-readable format. > > There are numerous 20-liners out there which do the thing, but not in PEAR. > > Now my question: > Would it make sense to create a package dedicated for converting file > sizes to human readable ones with support for both 1000 and 1024 base? > Or is that too small for an own package? If yes, maybe it can be > integrated into the "File" package. > Depends on whether the FIle package *really* needs/wants this or not and how small the code is. If it's 20 lines or less, I would think that it would be a fine addition to File. -- Justin Patrin

« previous php.pear.dev (#34451) next »