An open API service indexing awesome lists of open source software.

https://github.com/xyproto/datablock

:herb: Types and functions for caching files and directory listings with a fixed buffer size
https://github.com/xyproto/datablock

cache filecache go

Last synced: 3 months ago
JSON representation

:herb: Types and functions for caching files and directory listings with a fixed buffer size

Awesome Lists containing this project

README

          

# Datablock [![GoDoc](https://godoc.org/github.com/xyproto/datablock?status.svg)](http://godoc.org/github.com/xyproto/datablock) [![Report Card](https://img.shields.io/badge/go_report-A+-brightgreen.svg?style=flat)](http://goreportcard.com/report/xyproto/datablock)

Module for reading and caching files into a fixed size cache buffer.

Can also cache calls to `os.Stat`, for cases of extreme optimization.

Coding style
------------

* The code shall always be formatted with `go fmt`.

Online API Documentation
------------------------

[godoc.org](http://godoc.org/github.com/xyproto/datablock)

General information
-------------------

* Version: 1.2.0
* License: BSD-3
* Alexander F Rødseth <xyproto@archlinux.org>