import Ref from "./ref" ; import Section from "./section" ; export default class GitInfo { repoName : string ; ref : Ref ; userName : string ; hostName ? : string ; relativeFilePath ? : string ; section ? : Section ; metadata ? : object ; constructor ( repoName , ref , userName , hostName ? , relativeFilePath ? , section ? , metadata ? ) { this . hostName = hostName ; this . repoName = repoName ; this . ref = ref ; this . userName = userName ; this . relativeFilePath = relativeFilePath ; this . section = section ; this . metadata = metadata ; } }