Skip to content

Fix path handling when loading the plugins#23

Merged
robhoes merged 1 commit into
xapi-project:mainfrom
andyhhp:main
Nov 6, 2025
Merged

Fix path handling when loading the plugins#23
robhoes merged 1 commit into
xapi-project:mainfrom
andyhhp:main

Conversation

@andyhhp

@andyhhp andyhhp commented Nov 5, 2025

Copy link
Copy Markdown
Collaborator

Filename.concat inserts a slash, so remove the leading slash from the plugins directory. Use Filename.concat consistently for all paths.

Closes #22

Filename.concat inserts a slash, so remove the leading slash from the plugins
directory.  Use Filename.concat consistently for all paths.

Closes xapi-project#22

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>

@robhoes robhoes left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but lets make sure we test before merging :)

@psafont psafont left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If using Filename.concat becomes cumbersome, it can be aliased to make it easier to use: let ( // ) = Filename.concat in "/root" // "directory" // "subdirectory"

@robhoes

robhoes commented Nov 6, 2025

Copy link
Copy Markdown
Member

I've tested it. All seems fine.

@robhoes robhoes merged commit b3f6f0a into xapi-project:main Nov 6, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

libexec path handling

5 participants