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

    Function path_extractFeedID

    • Extracts the feed ID from a path.

      Looks for a feed_<numeric-id> directory segment anywhere in the path. This covers both data paths such as /home/user/feeds/feed_123 and the job-history projection at /proc/jobs/feed_123.

      Parameters

      • dirPath: string

        The directory path to analyze.

      Returns number | null

      The feed ID as a number, or null if not found.

      path_extractFeedID('/home/chris/feeds/feed_123/pl-dircopy_456/data/')
      // Returns: 123