internal GitCommit(GitRepository gitCommand, string sha) { _repo = gitCommand.ThrowIfNull(nameof(gitCommand)); Sha = sha.ThrowIfNullOrEmpty(nameof(sha)); _fileTree = new AsyncLazy <Dictionary <string, string> >( GetFileTreeAsync, GoogleCloudExtensionPackage.Instance.JoinableTaskFactory); }
internal GitCommit(GitRepository gitCommand, string sha) { _repo = gitCommand.ThrowIfNull(nameof(gitCommand)); Sha = sha.ThrowIfNullOrEmpty(nameof(sha)); _fileTree = new AsyncLazy <Dictionary <string, string> >(GetFileTreeAsync); }