@@ -15,7 +15,7 @@ import { PosixModeBits } from './PosixModeBits';
1515 * The options for FileSystem.readFolder()
1616 * @public
1717 */
18- export interface IReadFolderOptions {
18+ export interface IFileSystemReadFolderOptions {
1919 /**
2020 * If true, returns the absolute paths of the files in the folder.
2121 * Defaults to `false`.
@@ -27,7 +27,7 @@ export interface IReadFolderOptions {
2727 * The options for FileSystem.writeFile()
2828 * @public
2929 */
30- export interface IWriteFileOptions {
30+ export interface IFileSystemWriteFileOptions {
3131 /**
3232 * If true, will ensure the folder is created before writing the file.
3333 * Defaults to `false`.
@@ -51,7 +51,7 @@ export interface IWriteFileOptions {
5151 * The options for FileSystem.readFile()
5252 * @public
5353 */
54- export interface IReadFileOptions {
54+ export interface IFileSystemReadFileOptions {
5555 /**
5656 * If specified, will change the encoding of the file that will be written.
5757 * Defaults to `"utf8"`.
@@ -116,7 +116,7 @@ export interface IFileSystemCopyFileOptions {
116116 * The options for FileSystem.deleteFile()
117117 * @public
118118*/
119- export interface IDeleteFileOptions {
119+ export interface IFileSystemDeleteFileOptions {
120120 /**
121121 * If true, will throw an exception if the file did not exist before `deleteFile()` was called.
122122 * Defaults to `false`.
@@ -129,7 +129,7 @@ export interface IDeleteFileOptions {
129129 * Both times must be specified.
130130 * @public
131131 */
132- export interface IUpdateTimeParameters {
132+ export interface IFileSystemUpdateTimeParameters {
133133 /**
134134 * The POSIX epoch time or Date when this was last accessed.
135135 */
@@ -142,8 +142,8 @@ export interface IUpdateTimeParameters {
142142}
143143
144144/**
145- * The options for FileSystem.createSymbolicLinkJunction(), createSymbolicLinkFile(), createSymbolicLinkFolder() ,
146- * and createHardLink().
145+ * The options for ` FileSystem.createSymbolicLinkJunction()`, ` createSymbolicLinkFile()` ,
146+ * `createSymbolicLinkFolder()`, and ` createHardLink()` .
147147 *
148148 * @public
149149 */
@@ -213,7 +213,7 @@ export class FileSystem {
213213 * @param path - The path of the file that should be modified.
214214 * @param times - The times that the object should be updated to reflect.
215215 */
216- public static updateTimes ( path : string , times : IUpdateTimeParameters ) : void {
216+ public static updateTimes ( path : string , times : IFileSystemUpdateTimeParameters ) : void {
217217 // tslint:disable-next-line:no-any
218218 fsx . utimes ( path , times . accessedTime as any , times . modifiedTime as any ) ;
219219 }
@@ -301,7 +301,7 @@ export class FileSystem {
301301 * @param folderPath - The absolute or relative path to the folder which should be read.
302302 * @param options - Optional settings that can change the behavior. Type: `IReadFolderOptions`
303303 */
304- public static readFolder ( folderPath : string , options ?: IReadFolderOptions ) : Array < string > {
304+ public static readFolder ( folderPath : string , options ?: IFileSystemReadFolderOptions ) : Array < string > {
305305 options = {
306306 absolutePaths : false ,
307307 ...options
@@ -356,7 +356,7 @@ export class FileSystem {
356356 * @param contents - The text that should be written to the file.
357357 * @param options - Optional settings that can change the behavior. Type: `IWriteFileOptions`
358358 */
359- public static writeFile ( filePath : string , contents : string | Buffer , options ?: IWriteFileOptions ) : void {
359+ public static writeFile ( filePath : string , contents : string | Buffer , options ?: IFileSystemWriteFileOptions ) : void {
360360 options = {
361361 ensureFolderExists : false ,
362362 convertLineEndings : undefined ,
@@ -380,7 +380,7 @@ export class FileSystem {
380380 * @param filePath - The relative or absolute path to the file whose contents should be read.
381381 * @param options - Optional settings that can change the behavior. Type: `IReadFileOptions`
382382 */
383- public static readFile ( filePath : string , options ?: IReadFileOptions ) : string {
383+ public static readFile ( filePath : string , options ?: IFileSystemReadFileOptions ) : string {
384384 options = {
385385 encoding : Encoding . Utf8 ,
386386 convertLineEndings : undefined ,
@@ -415,7 +415,7 @@ export class FileSystem {
415415 * @param filePath - The absolute or relative path to the file that should be deleted.
416416 * @param options - Optional settings that can change the behavior. Type: `IDeleteFileOptions`
417417 */
418- public static deleteFile ( filePath : string , options ?: IDeleteFileOptions ) : void {
418+ public static deleteFile ( filePath : string , options ?: IFileSystemDeleteFileOptions ) : void {
419419 options = {
420420 throwIfNotExists : false ,
421421 ...options
0 commit comments