getInfoForFile method
getInfoForFile:application:type:
Implementation
bool getInfoForFile(
objc.NSString fullPath, {
required ffi.Pointer<ffi.Pointer<objc.ObjCObject>> application,
required ffi.Pointer<ffi.Pointer<objc.ObjCObject>> type,
}) {
objc.checkOsVersionInternal(
'NSWorkspace.getInfoForFile:application:type:',
iOS: (true, null),
macOS: (false, (10, 0, 0)),
);
return _objc_msgSend_tyshih(
this.ref.pointer,
_sel_getInfoForFile_application_type_,
fullPath.ref.pointer,
application,
type,
);
}