public void ToString_BlobPath_ReturnsExpectedResult() { BlobPath path = BlobPath.Parse("container/blob", false); Assert.Equal("container/blob", path.ToString()); path = BlobPath.Parse("container", true); Assert.Equal("container", path.ToString()); path = new BlobPath("container", null); Assert.Equal("container", path.ToString()); }
public void ToString_BlobPath_ReturnsExpectedResult() { BlobPath path = BlobPath.Parse("container/blob", false); Assert.Equal("container/blob", path.ToString()); // '[' ad ']' are valid in blob names path = BlobPath.Parse("container/blob[0]", false); Assert.Equal("container/blob[0]", path.ToString()); path = BlobPath.Parse("container", true); Assert.Equal("container", path.ToString()); path = new BlobPath("container", null); Assert.Equal("container", path.ToString()); }
public Task AddPathKeyPair(BlobPath path, string key) => AddPathKeyPair(path.ToString(), key);
public Task <string> GetKeyByPath(BlobPath path) => GetKeyByPath(path.ToString());