18 lines
307 B
Crystal
18 lines
307 B
Crystal
require "time"
|
|
|
|
require "./author"
|
|
|
|
module TimeCost
|
|
class Commit
|
|
property author : Author
|
|
property commit_hash : String
|
|
|
|
property datetime : Time
|
|
property message : String
|
|
|
|
def initialize(@commit_hash, @datetime=Time, @author=Author, @message="")
|
|
# @note = nil
|
|
end
|
|
end
|
|
end
|