"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
Object.defineProperty(exports, "__esModule", { value: true });
const HttpFolder_1 = require("./HttpFolder");
const StorageBase_1 = require("./StorageBase");
class HttpStorage extends StorageBase_1.default {
    constructor(newUrl) {
        super();
        this.baseUrl = newUrl;
        if (!this.baseUrl.endsWith(StorageBase_1.default.slashFolderDelimiter)) {
            this.baseUrl += StorageBase_1.default.slashFolderDelimiter;
        }
        this.rootFolder = new HttpFolder_1.default(this, null, "");
    }
}
exports.default = HttpStorage;

//# sourceMappingURL=../maps/storage/HttpStorage.js.map
