Gets the parent of a document URL object (of type
- macOS 10.3+
- Core Services
The document URL object whose parent you want to get.
The parent document URL object, or
NULL on failure.
Search Kit manages document locations in terms of URLs as Document URL objects (of type
SKDocument). The parent document URL object typically contains the document’s URL up to but not including the document name.
Typically, document URL objects contain the complete URL to a file-based document. But you can use this function iteratively to build up the complete file-system path for a document that you are managing as part of a document hierarchy. See the description for the
SKDocument function for more on this.