"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * Returns true if the last partial of the path starting with a period.
 */
function isDotDirectory(path) {
    var pathPartials = path.split('/');
    var lastPathPartial = pathPartials[pathPartials.length - 1];
    return lastPathPartial.startsWith('.');
}
exports.isDotDirectory = isDotDirectory;
