Skip to content

Conversation

@cclauss
Copy link
Contributor

@cclauss cclauss commented May 22, 2024

Separate functions for each operating system.

+ def _lib_candidates_linux():
+     """Yield possible libmagic library names on Linux."""
+
+ def _lib_candidates_macos():
+     """Yield possible libmagic library names on macOS."""
+
+ def _lib_candidates_windows():
+     """Yield possible libmagic library names on Windows."""

Related to:

@cclauss cclauss force-pushed the clean-up-loader branch from c8d56b3 to 3fcd24a Compare May 22, 2024 14:34
@cclauss cclauss force-pushed the clean-up-loader branch from 3fcd24a to 10914ce Compare May 22, 2024 14:36
@cclauss cclauss changed the title Clean up loader.py loader.py: Separate functions for each operating system May 22, 2024
@ahupp ahupp merged commit cf21065 into ahupp:master May 26, 2024
@ahupp
Copy link
Owner

ahupp commented May 26, 2024

Seems reasonable, thanks!

@cclauss cclauss deleted the clean-up-loader branch May 26, 2024 10:27
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.

2 participants