MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / resolve_explicit_command

Function resolve_explicit_command

src/mago.rs:916–925  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

914
915 #[test]
916 fn resolve_explicit_command() {
917 let config = MagoConfig {
918 command: Some("/usr/local/bin/mago".to_string()),
919 lint_timeout: None,
920 analyze_timeout: None,
921 };
922 let result = resolve_mago(None, &config, None);
923 assert!(result.is_some());
924 assert_eq!(result.unwrap().path, PathBuf::from("/usr/local/bin/mago"));
925 }
926
927 #[test]
928 fn resolve_auto_detect_vendor_bin() {

Callers

nothing calls this directly

Calls 1

resolve_magoFunction · 0.85

Tested by

no test coverage detected