NS_ASSERTION(strstr(inString, kFileURLPrefix) != inString, "URL passed as path"); FSSpec spec; spec.vRefNum = 0; spec.parID = 0; MacFileHelpers::FSSpecFromUnixPath( inString, spec, false, true, true, inCreateDirs);     ioPath = spec;
NS_ASSERTION(inString, "AssignFromPath called with null inString"); NS_ASSERTION(strstr(inString, kFileURLPrefix) != inString, "URL passed as path");  FSSpec spec; spec.vRefNum = 0; spec.parID = 0; MacFileHelpers::FSSpecFromUnixPath( inString, spec, false, true, true, inCreateDirs);     ioPath = spec;
static void AssignFromPath(nsFilePath& ioPath, const char* inString, PRBool inCreateDirs)//----------------------------------------------------------------------------------------{    NS_ASSERTION(strstr(inString, kFileURLPrefix) != inString, "URL passed as path");    FSSpec spec;    spec.vRefNum = 0;    spec.parID = 0;    MacFileHelpers::FSSpecFromUnixPath(        inString,        spec,        false,        true, // resolve alias        true,        inCreateDirs);    // Now we have a spec,    // Invoke operator = (const nsFileSpec&) to do the rest.    // Why didn't we just say mPath = inString to get the path? Well, we want it to be    // canonical and absolute.    ioPath = spec;}