Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 /// <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);
     }
 }
Exemplo n.º 3
0
        /// <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;
        }
Exemplo n.º 4
0
		/// <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;
		}
Exemplo n.º 5
0
			internal ListParser(AmazonS3 _enclosing, string bn, string p)
			{
				this._enclosing = _enclosing;
				this.bucket = bn;
				this.prefix = p;
			}
Exemplo n.º 6
0
			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;
			}
Exemplo n.º 7
0
 internal ListParser(AmazonS3 _enclosing, string bn, string p)
 {
     this._enclosing = _enclosing;
     this.bucket     = bn;
     this.prefix     = p;
 }