Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

dart_bin library: Want way to set file size (like C stdlib ftruncate) #264

Closed
DartBot opened this issue Oct 29, 2011 · 3 comments
Closed
Assignees
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. type-enhancement A request for a change that isn't a bug

Comments

@DartBot
Copy link

DartBot commented Oct 29, 2011

This issue was originally filed by jack.palevich@gmail.com


For an app I am writing, I need to be able to control the size of a file.

I want to be able to access the C stdlib "ftruncate" API for setting (and truncating) the size of a file.

Maybe this could be exposed as a method on the "File" object.

@DartBot
Copy link
Author

DartBot commented Oct 31, 2011

This comment was originally written by drfibonacci@google.com


Removed Type-Defect label.
Added Type-Enhancement, Area-Library, Triaged labels.

@sgjesse
Copy link
Contributor

sgjesse commented Oct 31, 2011

Set owner to @madsager.
Added Accepted label.

@madsager
Copy link
Contributor

File objects have had a truncate method for a while. Closing.


Added Fixed label.

@DartBot DartBot added Type-Enhancement area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. labels Jan 18, 2012
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed type-enhancement labels Mar 1, 2016
nex3 pushed a commit that referenced this issue Aug 31, 2016
This issue was closed.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

4 participants