carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1//go:build !linux
2
3package host
4
5import (
6 "fmt"
7 "os"
8)
9
10func bootstrapMakeDir(path string, mode os.FileMode) error {
11 return fmt.Errorf("bootstrap filesystem operations require Linux")
12}
13
14func bootstrapCreateRegistry(path string) (bool, error) {
15 return false, fmt.Errorf("bootstrap filesystem operations require Linux")
16}
17
18func bootstrapChownTree(path string, uid, gid int) error {
19 return fmt.Errorf("bootstrap filesystem operations require Linux")
20}
21