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 "github.com/carlosframework/platform/internal/rootstate"
7 "os"
8)
9
10type claimUnitFiles struct{ dir string }
11
12func (claimUnitFiles) read(string) ([]byte, rootstate.FileIdentity, error) {
13 return nil, rootstate.FileIdentity{}, os.ErrPermission
14}
15func (claimUnitFiles) create(string, []byte) error { return os.ErrPermission }
16func (claimUnitFiles) replace(string, rootstate.FileIdentity, []byte) error { return os.ErrPermission }
17
18func projectClaimBoundSocket(claimUnitShape) error { return os.ErrPermission }
19