mise API - v0.0.0
    Preparing search index...

    Function path_isInFeed

    • Determines if a path is within a ChRIS feed directory.

      Checks if the path contains the pattern: /feeds/feed_/

      Parameters

      • dirPath: string

        The directory path to check.

      Returns boolean

      True if the path is within a feed directory, false otherwise.

      path_isInFeed('/home/chris/feeds/feed_123/pl-dircopy_456/data/')  // true
      path_isInFeed('/home/chris/uploads/data/') // false