looksLikeLegacySharedPlanPath reports whether requestedPath matches the legacy shared plan path (case-insensitive). Used as a narrow fallback when the workspace home cannot be resolved.
(requestedPath string)
| 105 | // matches the legacy shared plan path (case-insensitive). Used as a |
| 106 | // narrow fallback when the workspace home cannot be resolved. |
| 107 | func looksLikeLegacySharedPlanPath(requestedPath string) bool { |
| 108 | normalized := path.Clean(requestedPath) |
| 109 | return strings.EqualFold(normalized, LegacySharedPlanPath) |
| 110 | } |
no outgoing calls