mirror of
https://github.com/restic/restic.git
synced 2024-08-22 12:23:29 +02:00
22 lines
372 B
Go
22 lines
372 B
Go
// Copyright 2015 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build go1.5
|
|
|
|
package plan9
|
|
|
|
import "syscall"
|
|
|
|
func fixwd() {
|
|
syscall.Fixwd()
|
|
}
|
|
|
|
func Getwd() (wd string, err error) {
|
|
return syscall.Getwd()
|
|
}
|
|
|
|
func Chdir(path string) error {
|
|
return syscall.Chdir(path)
|
|
}
|