On Mon, Nov 24, 2008 at 1:40 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> Note, I have experimented with attributesOfItemAtPath to get it to
> recognize folders as folders as well, but with no luck.
>

Filling the return dictionary from attributesOfItemAtPath is exactly
the way to do it. You should be setting a proper value for the
NSFileType key (NSFileTypeDirectory, NSFileTypeRegular, etc.).

Please read the GMUserFileSystem header file found at:

/Library/Frameworks/MacFUSE.framework/Headers/GMUserFileSystem.h

For best results, you should fill in as many of the supported keys as
you can for your file system.

ted

>
>
> On Nov 24, 3:36 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>> Hello, I am new to MacFuse and mostly new to Cocoa as well so this may
>> be a dumb question.
>>
>> - (NSArray *)contentsOfDirectoryAtPath:(NSString *)path  error:
>> (NSError **)error; returns an array of Strings.  I have this working
>> except I am returning my folders and files.  How do I let MacFuse know
>> that the folders are folders and not just files so that they can be
>> opened?
>>
>> Thanks.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MacFUSE" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/macfuse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to