export const validFilePath = (filePath: string) => {
const errors = filePath.split('/').map(pathPart => {
if (pathPart === "") { return "Empty dir name not allowed"; }
export const validFilePath = (filePath: string) => {
const errors = filePath.split('/').map(pathPart => {
if (pathPart === "") { return "Empty dir name not allowed"; }