react-native-cloud-store
Version:
A react-native module for cloud operation
17 lines (16 loc) • 416 B
TypeScript
/**
* A helper class for path manipulation
*/
export declare class PathUtils {
static subPath(from: string, to: string): string;
static join(...segments: string[]): string;
/**
* Change ".xx.icloud" to "xx"
*/
static iCloudRemoveDotExt(path: string): string;
/**
* Get path extension(no leading dot)
* @param path
*/
static ext(path: string): string | undefined;
}