github.com/markusbkk/elvish@v0.0.0-20231204143114-91dc52438621/pkg/mods/unix/non_unix.go (about)

     1  //go:build windows || plan9 || js
     2  // +build windows plan9 js
     3  
     4  // Package unix exports an Elvish namespace that contains variables and
     5  // functions that deal with features unique to UNIX-like operating systems. On
     6  // non-UNIX operating systems it exports an empty namespace.
     7  package unix
     8  
     9  import (
    10  	"github.com/markusbkk/elvish/pkg/eval"
    11  )
    12  
    13  // ExposeUnixNs indicate whether this module should be exposed as a usable
    14  // elvish namespace.
    15  const ExposeUnixNs = false
    16  
    17  // Ns is an Elvish namespace that contains variables and functions that deal
    18  // with features unique to UNIX-like operating systems. On
    19  var Ns = &eval.Ns{}