code: func Dirname(path cty.Value) (cty.Value, error) {
  	return DirnameFunc.Call([]cty.Value{path})
  }
docs: // Dirname takes a string containing a filesystem path and removes the last portion from it.
  //
  // The underlying function implementation works only with the path string and does not access the filesystem itself.
  // It is therefore unable to take into account filesystem features such as symlinks.
  //
  // If the path is empty then the result is ".", representing the current working directory.