23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#import "OFFile.h"
#import "OFExceptions.h"
@implementation OFFile
+ fileWithPath: (OFString*)path
andMode: (OFString*)mode
{
return [[[OFFile alloc] initWithPath: path
andMode: mode] autorelease];
}
+ (void)changeModeOfFile: (OFString*)path
toMode: (mode_t)mode
{
/*
|
|
|
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#import "OFFile.h"
#import "OFExceptions.h"
@implementation OFFile
+ fileWithPath: (OFString*)path
andMode: (OFString*)mode
{
return [[[self alloc] initWithPath: path
andMode: mode] autorelease];
}
+ (void)changeModeOfFile: (OFString*)path
toMode: (mode_t)mode
{
/*
|