OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The LUCI 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 under the Apache License, Version 2.0 |
3 // found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
4 | 4 |
5 package datastore | 5 package datastore |
6 | 6 |
7 import ( | 7 import ( |
8 "fmt" | 8 "fmt" |
9 "io" | 9 "io" |
10 "io/ioutil" | 10 "io/ioutil" |
11 "os" | 11 "os" |
12 "path/filepath" | 12 "path/filepath" |
13 "reflect" | 13 "reflect" |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 currentDir = filepath.Dir(currentDir) | 511 currentDir = filepath.Dir(currentDir) |
512 } | 512 } |
513 } | 513 } |
514 | 514 |
515 func filterStop(err error) error { | 515 func filterStop(err error) error { |
516 if err == Stop { | 516 if err == Stop { |
517 err = nil | 517 err = nil |
518 } | 518 } |
519 return err | 519 return err |
520 } | 520 } |
OLD | NEW |