mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2026-03-28 23:00:07 +01:00
- RealWebApiTest requires api.phpmon.test to be reachable or skips - CommandTest requires php binary or skips
20 lines
379 B
Swift
20 lines
379 B
Swift
//
|
|
// Binaries.swift
|
|
// PHP Monitor
|
|
//
|
|
// Created by Nico Verbruggen on 16/02/2026.
|
|
// Copyright © 2026 Nico Verbruggen. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
class Binaries {
|
|
static func exist(paths: [String]) -> Bool {
|
|
for path in paths where FileManager.default.fileExists(atPath: path) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
}
|