DITDiskUsageItem
@interface DITDiskUsageItem : NSObject <NSCopying>
A directory or file in the Ditto working directory. Directories can be traversed by accessing
the childItems property. Files won’t have any children.
-
Type of file.
Declaration
Objective-C
@property (readonly) DITFileSystemType type; -
Path to the file relative to the Ditto working directory.
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull path; -
Size of the file. In the case of a directory, this is the sum of all file sizes beneath it.
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger sizeInBytes; -
An array of child items. Empty for regular files. Only directories may contain children.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<DITDiskUsageItem *> *childItems; -
Undocumented
Declaration
Objective-C
- (instancetype)initWithDictionary:(NSDictionary *)dictionary; -
Undocumented
Declaration
Objective-C
- (NSUInteger)hash; -
Undocumented
Declaration
Objective-C
- (BOOL)isEqual:(nullable id)object; -
Undocumented
Declaration
Objective-C
- (BOOL)isEqualToDiskUsageItem:(DITDiskUsageItem *)diskUsageItem; -
Undocumented
Declaration
Objective-C
- (DITDiskUsageItem *)copy; -
Undocumented
Declaration
Objective-C
- (DITDiskUsageItem *)copyWithZone:(nullable NSZone *)zone;
DITDiskUsageItem Class Reference