| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // +build !windows | 5 // +build !windows |
| 6 | 6 |
| 7 package main | 7 package local |
| 8 | 8 |
| 9 import ( | 9 import ( |
| 10 » "syscall" | 10 » "os" |
| 11 ) | 11 ) |
| 12 | 12 |
| 13 var serverStartParams = &syscall.SysProcAttr{Setpgid: true} | 13 func atomicRename(source, target string) error { |
| 14 » return os.Rename(source, target) |
| 15 } |
| OLD | NEW |