www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22762] New: no truncate function

https://issues.dlang.org/show_bug.cgi?id=22762

          Issue ID: 22762
           Summary: no truncate function
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: temtaime gmail.com

Hello. It's very useful feature to set filesize.
I think it should be added here, without it the only way to reduce file size is
make a copy and rewrite it from scratch

--
Feb 11 2022