- stat(endpoint_xid, options, sdkOptions?): Promise<JSONFetchResponse<FileDocument>>
Parameters
- endpoint_xid: string
- options: undefined | {
query?: {
local_user?: string;
path: string;
};
} & {
headers?: Headers;
query?: {
[key: string]:
| string
| number
| boolean
| (
| string
| number
| null
| undefined)[]
| null
| undefined;
};
} Optional
sdkOptions: SDKOptions
Returns Promise<JSONFetchResponse<FileDocument>>
Stat the file or directory at the specified path on a collection.
See
https://docs.globus.org/api/transfer/file_operations/#stat