[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/magic-coder/Coding-iOS/master/Coding_iOS/Models/Commit.m [Back]  [Original]

//
//  Commit.m
//  Coding_iOS
//
//  Created by   on 14-8-16.
//  Copyright (c) 2014 Coding. All rights reserved.
//

#import "Commit.h"

@implementation Commit
- (NSString *)contentStr{
    NSString *contentStr;
    if (_sha && _sha.length > 0) {
        contentStr = [NSString stringWithFormat:@"%@ : [%@] %@", _committer.name, [_sha substringToIndex:10], _short_message];
    }
    return contentStr;
}

- (void)setShort_message:(NSString *)short_message{
    if (short_message.length 

Web Proxy Viewer  |  New URL  |  Original Page