MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ acquire_from_system()

Acquired< LibraryLocation > MayaFlux::Platform::detail::acquire_from_system ( const LibraryFromSystem & from)
inline

Definition at line 265 of file Acquisition.hpp.

266 {
267 if (auto failure = check_file_name(from.file_name)) {
268 return std::unexpected(*failure);
269 }
270 return LibraryLocation { .path = {}, .file_name = from.file_name, .resolved_by_system = true };
271 }
std::optional< AcquireFailure > check_file_name(std::string_view name)
Where a library comes from after acquisition.

References check_file_name(), and MayaFlux::Platform::LibraryFromSystem::file_name.

Referenced by MayaFlux::Platform::acquire_library().

Here is the call graph for this function:
Here is the caller graph for this function: