320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
|
count--;
i--;
continue;
}
if ([component isEqual: @".."])
[components replaceObjectAtIndex: i
withObject: @"/"];
}
return [OFString pathWithComponents: components];
}
- (OFString *)of_pathComponentToURLPathComponent
{
return self;
}
@end
|
|
<
|
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
|
count--;
i--;
continue;
}
if ([component isEqual: @".."])
[components replaceObjectAtIndex: i withObject: @"/"];
}
return [OFString pathWithComponents: components];
}
- (OFString *)of_pathComponentToURLPathComponent
{
return self;
}
@end
|