(path string, s string)
| 8 | ) |
| 9 | |
| 10 | func ExistsInPath(path string, s string) bool { |
| 11 | _, err := os.Stat(filepath.Join(path, s)) |
| 12 | return err == nil |
| 13 | } |
| 14 | |
| 15 | func InTrustedRoot(path string, trustedRoot string) error { |
| 16 | for path != "/" { |
no outgoing calls
no test coverage detected