import * as fs from 'fs' ; import { StringFunctions } from './StringFunctions' ; export class FileFunctions { static getDirectory ( fullPath ) { return fullPath . substring ( 0 , fullPath . lastIndexOf ( "\\" ) + 1 ) ; } static getFileName ( fullPath ) { return fullPath . substr ( this . getDirectory ( fullPath ) . length ) ; } }