MCPcopy Create free account
hub / github.com/apache/cloudberry / SharedFilePath

Function SharedFilePath

src/backend/storage/file/sharedfileset.c:347–354  ·  view source on GitHub ↗

* Compute the full path of a file in a SharedFileSet. */

Source from the content-addressed store, hash-verified

345 * Compute the full path of a file in a SharedFileSet.
346 */
347static void
348SharedFilePath(char *path, SharedFileSet *fileset, const char *name)
349{
350 char dirpath[MAXPGPATH];
351
352 SharedFileSetPath(dirpath, fileset, ChooseTablespace(fileset, name));
353 snprintf(path, MAXPGPATH, "%s/%s", dirpath, name);
354}

Callers 3

SharedFileSetCreateFunction · 0.85
SharedFileSetOpenFunction · 0.85
SharedFileSetDeleteFunction · 0.85

Calls 2

SharedFileSetPathFunction · 0.85
ChooseTablespaceFunction · 0.85

Tested by

no test coverage detected