Afero is a filesystem framework providing a simple, uniform and universal API interacting with any filesystem, as an abstraction layer providing interfaces, types and methods. Afero has an exceptionally clean interface and simple design without needless constructors or initialization methods. Afero is also a library providing a base set of interoperable backend filesystems that make it easy to work with afero while retaining all the power and benefit of the os and ioutil packages. Afero provides significant improvements over using the os package alone, most notably the ability to create mock and testing filesystems without relying on the disk. It is suitable for use in any situation where you would consider using the OS package as it provides an additional abstraction that makes it easy to use a memory backed file system during testing. It also adds support for the http filesystem for full interoperability.

Features

  • A single consistent API for accessing a variety of filesystems
  • Interoperation between a variety of file system types
  • A set of interfaces to encourage and enforce interoperability between backends
  • An atomic cross platform memory backed file system
  • Support for compositional (union) file systems by combining multiple file systems acting as one
  • Specialized backends which modify existing filesystems (Read Only, Regexp filtered)

Project Samples

Project Activity

See All Activity >

Categories

Filesystems

Follow Afero

Afero Web Site

Other Useful Business Software
Choose Fast, Secure, File Handling. Choose Filestack. Icon
Choose Fast, Secure, File Handling. Choose Filestack.

Let Filestack’s advanced security, intelligence, and uploading features simplify your file handling tasks.

Filestack covers every available facet of file handling with ease, from rapid file uploads to swift, secure file delivery. Take advantage of advanced image intelligence to detect and tag objects in your photos, or use OCR to easily parse and process image text. Filestack Workflows allow you to automate complex file processing pathways into a single API call with an intuitive, low code interface. Everything your app could need, in one place.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Afero!

Additional Project Details

Programming Language

Go

Registered

2022-01-05