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: nob...@puremagic.com Reporter: temta...@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 --