b92cf68add
It only has a single implementation. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
17 lines
401 B
Go
17 lines
401 B
Go
//go:build !linux && !windows && !freebsd
|
|
|
|
package osl
|
|
|
|
type Namespace struct{}
|
|
|
|
func (n *Namespace) Destroy() error { return nil }
|
|
|
|
// GC triggers garbage collection of namespace path right away
|
|
// and waits for it.
|
|
func GC() {
|
|
}
|
|
|
|
// GetSandboxForExternalKey returns sandbox object for the supplied path
|
|
func GetSandboxForExternalKey(path string, key string) (*Namespace, error) {
|
|
return nil, nil
|
|
}
|