/**
 * A generic entry in a file system.
 */ import { IFileAccessConfiguration } from './i-file-access-configuration' ; import { SerializationService } from '../../model/serialization.service' ; export interface IFileDescription { readonly type : 'dir' | 'file' ; configuration : IFileAccessConfiguration ; path : string ; name : string ; children ? : IFileDescription [ ] ; /**
     * Return a string representation of translation file content.
     * This will be stored in BackendService.
     */ serialize ( serializationService ) : string ; param another equals ( another ) : boolean ; /**
     * Test, whether it is a directory.
     */ isDirectory ( ) : boolean ; /**
     * Return the directory of this file.
     * (or the parent, if it is directory)
     */ dirname ( ) : IFileDescription | null ; param name return createFileDescription ( name ) : IFileDescription ; }