Home > @microsoft/node-core-library > LockFile > getLockFilePath

LockFile.getLockFilePath() method

Returns the path to the lockfile, should it be created successfully.

Signature:

static getLockFilePath(resourceDir: string, resourceName: string, pid?: number): string;

Parameters

Parameter Type Description
resourceDir string  
resourceName string  
pid number  

Returns:

string