class library: DUGen - the server now handles audio-rate inputs correctly
[supercollider.git] / SCClassLibrary / Platform / iphone / SystemOverwrites / extFile.sc
blob36cabc365a79599ceac448c4c36135c3e38c01a4
1 //primitive fails with boost::filesystem::status: Operation not permitted: "/tmp/"
2 //using the old sclang implementation for file exists until fixed.
4 + File {
5         *exists { arg pathName;
6                 var file;
7                 file = File(pathName,"r");
8                 if (file.isOpen, { file.close; ^true });
9                 ^false
10         }