pkg/

directory
v1.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2026 License: Apache-2.0

README

Packages Overview

The pkg/ directory contains various filesystem implementations and wrappers that extend Go's standard io/fs to support both read and write operations.

Core Features

  • writefs: Defines the core interfaces for write-enabled filesystems.
  • vfsrw: Provides a virtual filesystem with a vfs:/ prefix for accessing multiple configurable backends.

Filesystem Implementations

These packages provide actual storage backend implementations:

  • osfsrw: Local OS filesystem.
  • s3fsrw: Amazon S3 and compatible object storage.
  • sftpfsrw: SFTP (Secure File Transfer Protocol).
  • remotefs: Custom remote filesystem service.
  • miniKVStoreFSRW: MiniKVStore-backed storage.
  • webFS: Web/HTTP-based filesystem.
  • zipfsrw: Read/Write support for ZIP files.
  • zipfsw: Write-only support for ZIP files (sequential creation).

Filesystem Wrappers

These packages provide additional functionality by wrapping other filesystems:

  • mountFS: Combine multiple filesystems into a single unified hierarchy.
  • zipasfolder: Treats ZIP files inside another filesystem as if they were directories.
  • zipfs: Simple read-only ZIP filesystem.

Directories

Path Synopsis
Package zipfsrw provides a functionality to create and update content of a zip file
Package zipfsrw provides a functionality to create and update content of a zip file
Package zipfsw provides a functionality to create and update content of a zip file
Package zipfsw provides a functionality to create and update content of a zip file

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL