public _LocalFile_455(AmazonS3 _enclosing, string bucket, string key, MessageDigest md5, ProgressMonitor monitor, string monitorTask) { this._enclosing = _enclosing; this.bucket = bucket; this.key = key; this.md5 = md5; this.monitor = monitor; this.monitorTask = monitorTask; }
/// <exception cref="System.NotSupportedException"></exception> private static Properties LoadPropertiesFile(FilePath propsFile) { try { return(AmazonS3.Properties(propsFile)); } catch (IOException e) { throw new NotSupportedException(MessageFormat.Format(JGitText.Get().cannotReadFile , propsFile), e); } }
/// <exception cref="System.NotSupportedException"></exception> protected internal TransportAmazonS3(Repository local, URIish uri) : base(local, uri) { s3 = new AmazonS3(LoadProperties()); bucket = uri.GetHost(); string p = uri.GetPath(); if (p.StartsWith("/")) { p = Sharpen.Runtime.Substring(p, 1); } if (p.EndsWith("/")) { p = Sharpen.Runtime.Substring(p, 0, p.Length - 1); } keyPrefix = p; }
internal ListParser(AmazonS3 _enclosing, string bn, string p) { this._enclosing = _enclosing; this.bucket = bn; this.prefix = p; }