namespace_unsupported.go 447 B

123456789101112131415161718
  1. //go:build !linux && !windows && !freebsd
  2. // +build !linux,!windows,!freebsd
  3. package osl
  4. // GC triggers garbage collection of namespace path right away
  5. // and waits for it.
  6. func GC() {
  7. }
  8. // GetSandboxForExternalKey returns sandbox object for the supplied path
  9. func GetSandboxForExternalKey(path string, key string) (Sandbox, error) {
  10. return nil, nil
  11. }
  12. // SetBasePath sets the base url prefix for the ns path
  13. func SetBasePath(path string) {
  14. }