Skip to content

Commit

Permalink
cleaning
Browse files Browse the repository at this point in the history
Signed-off-by: Marino Faggiana <[email protected]>
  • Loading branch information
marinofaggiana committed Jun 5, 2024
1 parent ec3212d commit f749c5d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
4 changes: 0 additions & 4 deletions iOSClient/Utility/CCUtility.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,4 @@
+ (NSString *)createFileName:(NSString *)fileName fileDate:(NSDate *)fileDate fileType:(PHAssetMediaType)fileType keyFileName:(NSString *)keyFileName keyFileNameType:(NSString *)keyFileNameType keyFileNameOriginal:(NSString *)keyFileNameOriginal forcedNewFileName:(BOOL)forcedNewFileName;
+ (NSString *)getMimeType:(NSString *)fileNameView;

// ===== Third parts =====

+ (NSDate *)getATime:(const char *)path;

@end
13 changes: 0 additions & 13 deletions iOSClient/Utility/CCUtility.m
Original file line number Diff line number Diff line change
Expand Up @@ -159,17 +159,4 @@ + (NSString *)getMimeType:(NSString *)fileNameView
return returnFileUTI;
}

#pragma --------------------------------------------------------------------------------------------
#pragma mark ===== Third parts =====
#pragma --------------------------------------------------------------------------------------------


+ (NSDate *)getATime:(const char *)path
{
struct stat st;
stat(path, &st);
time_t accessed = st.st_atime;
NSDate *date = [NSDate dateWithTimeIntervalSince1970:accessed];
return date;
}
@end

0 comments on commit f749c5d

Please sign in to comment.