Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smallnest/preallocate
File preallocation library, cloned from https://git.sr.ht/~tslocum/preallocate
https://github.com/smallnest/preallocate
Last synced: 2 months ago
JSON representation
File preallocation library, cloned from https://git.sr.ht/~tslocum/preallocate
- Host: GitHub
- URL: https://github.com/smallnest/preallocate
- Owner: smallnest
- License: gpl-3.0
- Created: 2019-06-23T00:12:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-17T08:41:37.000Z (over 4 years ago)
- Last Synced: 2024-08-01T19:46:50.230Z (5 months ago)
- Language: Go
- Homepage:
- Size: 16.6 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go-perf - smallnest/preallocate - File preallocation library. (IO)
README
# preallocate
[![GoDoc](https://godoc.org/git.sr.ht/~tslocum/preallocate?status.svg)](https://godoc.org/git.sr.ht/~tslocum/preallocate)
[![builds.sr.ht status](https://builds.sr.ht/~tslocum/preallocate.svg)](https://builds.sr.ht/~tslocum/preallocate?)
[![Donate](https://img.shields.io/liberapay/receives/rocketnine.space.svg?logo=liberapay)](https://liberapay.com/rocketnine.space)File preallocation library
## Features
- Allocates files efficiently (via syscall) on the following platforms:
- [Linux](http://man7.org/linux/man-pages/man2/fallocate.2.html)
- [Windows](https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/ntifs/nf-ntifs-ntsetinformationfile)
- Falls back to writing null bytes## Documentation
Docs are hosted on [godoc.org](https://godoc.org/git.sr.ht/~tslocum/preallocate).
## Support
Issues and suggestions are hosted on [todo.sr.ht](https://todo.sr.ht/~tslocum/preallocate).