tav-media
Version:
Cross platform media editing framework
18 lines (17 loc) • 413 B
TypeScript
/**
* Utils for Paths.
*/
export declare class Path {
/**
* Get the file name from a path.
* @param path Full path of the file.
* @returns File name of the path.
*/
static getFileName(path: string): string;
/**
* Get a unique file name from a url.
* @param url The url to parse.
* @returns A local path.
*/
static getLocalFileName(url: string): string;
}