🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.mac
Article #6053

Re: Directory name from DirID?

#6053
From: grzm
Date: Fri, 13 Jun 1986 01:23
14 lines
1204 bytes
In article <157@zyx.UUCP> grzm@zyx.UUCP (me) writes:
>
>	Is there a way to get the directory name from the directory id,
>without searching through the directory tree or going to disk yourself?

	Yes, well, I just found out how to do it (after some serious
macsbugging...).  It seems that if you pass -1 as the FDirIndex to
_GetCatInfo it will ignore the filename you gave it and give back info
about the directory (including the name, of course...).  Is this documented
anywhere?
	Sorry to have bothered you all, but I was rather desperate (not
to mention tired...).
-- 
Gunnar Blomberg, ZYX, +46 8 653205, ...mcvax!enea!zyx!grzm
Technical Details
Message-ID: <158@zyx.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua!gatech!seismo!mcvax!enea!zyx!grzm
References: <157@zyx.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua!gatech!seismo!mcvax!enea!zyx!grzm
From: grzm@zyx.UUCP
Newsgroups: net.micro.mac
Subject: Re: Directory name from DirID?
Message-ID: <158@zyx.UUCP>
Date: Thu, 12-Jun-86 21:23:19 EDT
Article-I.D.: zyx.158
Posted: Thu Jun 12 21:23:19 1986
Date-Received: Tue, 17-Jun-86 09:02:07 EDT
References: <157@zyx.UUCP>
Reply-To: grzm@zyx.UUCP (Gunnar Blomberg)
Organization: ZYX AB, Stockholm, Sweden
Lines: 14
Keywords: HFS