Finds the highest version of pl-dircopy in a bin listing.
If multiple pl-dircopy versions exist (e.g., pl-dircopy-v1.0.0, pl-dircopy-v2.1.0), returns the one with the highest version number.
Array of plugin names from /bin directory.
The full name of the latest pl-dircopy plugin, or null if not found.
const plugins = ['pl-dircopy-v1.0.0', 'pl-dircopy-v2.1.0', 'pl-other-v1.0.0'];path_findLatestDircopy(plugins);// Returns: 'pl-dircopy-v2.1.0' Copy
const plugins = ['pl-dircopy-v1.0.0', 'pl-dircopy-v2.1.0', 'pl-other-v1.0.0'];path_findLatestDircopy(plugins);// Returns: 'pl-dircopy-v2.1.0'
Finds the highest version of pl-dircopy in a bin listing.
If multiple pl-dircopy versions exist (e.g., pl-dircopy-v1.0.0, pl-dircopy-v2.1.0), returns the one with the highest version number.