Commit b7b738c
committed
feat: add GetClientLibraryPath() to FirebirdEnvironment
Exposes the Firebird client library path as a method on FirebirdEnvironment,
following the same GetXxxPath() convention as GetServerPath(), GetIsqlPath(), etc.
- Windows: returns fbclient.dll in the environment root
- Linux: returns the versioned libfbclient.so.X (e.g. libfbclient.so.5),
falling back to the unversioned libfbclient.so symlink
Callers that need to supply an explicit library path to a Firebird client
driver (e.g. python3-firebird-driver, firebird-driver .NET) can now use:
\.GetClientLibraryPath()
instead of writing OS-conditional path logic themselves.
Add integration test to FirebirdEnvironment.Tests.ps1 verifying that the
returned path exists and matches the expected filename pattern.1 parent 567e51b commit b7b738c
2 files changed
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
71 | 85 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
58 | 75 | | |
59 | 76 | | |
60 | 77 | | |
| |||
0 commit comments