Type alias ReadlinkCallback<T>

ReadlinkCallback<T>: ((err, linkString?) => void)

Type Parameters

  • T = string | Buffer

Type declaration

    • (err, linkString?): void
    • Get results of readlink().

      Parameters

      • err: NodeJS.ErrnoException

        readlink error

      • Optional linkString: T

        path symlink points to

      Returns void

Generated using TypeDoc