|
|
|
@ -5,7 +5,7 @@ export class File {
|
|
|
|
content: string
|
|
|
|
content: string
|
|
|
|
|
|
|
|
|
|
|
|
constructor(filepath: string, content?: string) {
|
|
|
|
constructor(filepath: string, content?: string) {
|
|
|
|
this.filepath = filepath
|
|
|
|
this.filepath = path.normalize(filepath)
|
|
|
|
this.content = content || ''
|
|
|
|
this.content = content || ''
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|