/usr/share/SuperCollider/HelpSource/Classes/Cocoa.schelp is in supercollider-common 1:3.6.3~repack-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | class:: Cocoa
summary:: file paths that utilize OS X Cocoa services
related:: Classes/CocoaDialog
categories:: Platform>OSX
ClassMethods::
private::prGetPathsInDirectory
Examples::
code::
Cocoa.getPathsInDirectory("plugins")
// note: it is better to now use pathMatch (unix compatible). Wild cards like * can be used.
"plugins/*".pathMatch;
"plugins/D*".pathMatch;
"plugins/[D,T]*".pathMatch;
/*
This is a temporary implementation before I (felix) gets around to doing the proper Directory implementation.
It gets all paths in that directory and subdirectories.
maxItems is the size of the array to use, and should be larger than the number of items you might return, else a primitive index error.
all paths are standardized
*/
::
|