Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace FileSystemUtils

Index

Variables

FILE_NAME_SEPARATOR: " " = ' '

Functions

  • generateUniqueResourceURI(parent: FileStat, targetUri: URI, isDirectory: boolean, suffix?: string): URI
  • Generate unique URI for a given parent which does not collide

    Parameters

    • parent: FileStat

      the FileStat of the parent

    • targetUri: URI

      the initial URI

    • isDirectory: boolean

      indicates whether the given targetUri represents a directory

    • Optional suffix: string

      an optional string to append to the file name, in case of collision (e.g. copy)

    Returns URI