vendor/golang.org/x/sys/plan9/pwd_go15_plan9.go

Ratakor Fix nix build (#112)bc181fc799 4 months ago

21 lines · 373 bytes

 1// Copyright 2015 The Go Authors. All rights reserved.
 2// Use of this source code is governed by a BSD-style
 3// license that can be found in the LICENSE file.
 4
 5//go:build go1.5
 6
 7package plan9
 8
 9import "syscall"
10
11func fixwd() {
12	syscall.Fixwd()
13}
14
15func Getwd() (wd string, err error) {
16	return syscall.Getwd()
17}
18
19func Chdir(path string) error {
20	return syscall.Chdir(path)
21}
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form