btrfs

(β˜… 71)

Btrfs library in a pure Go

  • btrfs.go
  • btrfs_h.go
  • btrfs_list.go
  • btrfs_test.go
  • btrfs_tree.go
  • btrfs_tree_h.go
  • btrfs_tree_hc.go
  • errors.go
  • go.mod
  • go.sum
  • headers.go
  • ioctl_h.go
  • LICENSE
  • README.md
  • receive.go
  • send.go
  • size_test.go
  • subvolume.go
  • usage.go
  • utils.go
  • uuid_tree.go
  • xattr.go

# Installation Guide

1. Get the code
git clone https://github.com/dennwc/btrfs

Downloads the entire project code from GitHub to your computer.

cd btrfs

Moves into the project folder you just downloaded.

2. Go

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Go The Go compiler and toolchain.
cd cmd/gbtrfs

This project's files live in a subfolder, so move into it first.

go build ./...

Compiles the Go program into an executable.

go run .

Runs the Go program directly without a separate build step.

βœ… If the build finishes without errors, it worked. If you used go run ., check the terminal output.
// repository documentation