Oolite 1.91.0.7644-241112-7f5034b
Loading...
Searching...
No Matches
OOFileScannerVerifierStage.m File Reference
+ Include dependency graph for OOFileScannerVerifierStage.m:

Go to the source code of this file.

Classes

category  OOFileScannerVerifierStage(OOPrivate)
 

Functions

static BOOL CheckNameConflict (NSString *lcName, NSDictionary *directoryCases, NSDictionary *rootFiles, NSString **outExisting, NSString **outExistingType)
 

Variables

static NSString *const kFileScannerStageName = @"Scanning files"
 
static NSString *const kUnusedListerStageName = @"Checking for unused files"
 
 __pad0__
 

Function Documentation

◆ CheckNameConflict()

static BOOL CheckNameConflict ( NSString * lcName,
NSDictionary * directoryCases,
NSDictionary * rootFiles,
NSString ** outExisting,
NSString ** outExistingType )
static

Definition at line 761 of file OOFileScannerVerifierStage.m.

762{
763 NSString *existing = nil;
764
765 existing = [directoryCases objectForKey:lcName];
766 if (existing != nil)
767 {
768 if (outExisting != NULL) *outExisting = existing;
769 if (outExistingType != NULL) *outExistingType = @"directory";
770 return YES;
771 }
772
773 existing = [rootFiles objectForKey:lcName];
774 if (existing != nil)
775 {
776 if (outExisting != NULL) *outExisting = existing;
777 if (outExistingType != NULL) *outExistingType = @"file";
778 return YES;
779 }
780
781 return NO;
782}
return nil

Variable Documentation

◆ __pad0__

__pad0__

Definition at line 761 of file OOFileScannerVerifierStage.m.

◆ kFileScannerStageName

NSString* const kFileScannerStageName = @"Scanning files"
static

Definition at line 55 of file OOFileScannerVerifierStage.m.

◆ kUnusedListerStageName

NSString* const kUnusedListerStageName = @"Checking for unused files"
static

Definition at line 56 of file OOFileScannerVerifierStage.m.