@@ -12,7 +12,6 @@ class FileDiffTest {
1212
1313// @public
1414class FileSystem {
15- // WARNING: The type "IFileModeBits" needs to be exported by the package (e.g. added to index.ts)
1615 static changePermissionBits ( path : string , mode : IFileModeBits ) : void ;
1716 static copyFile ( sourcePath : string , destinationPath : string ) : void ;
1817 static createHardLink ( linkTarget : string , linkSource : string ) : void ;
@@ -31,7 +30,6 @@ class FileSystem {
3130 static readFile ( filePath : string , options ?: IReadFileOptions ) : string ;
3231 static readFileToBuffer ( filePath : string ) : Buffer ;
3332 static readFolder ( folderPath : string , options ?: IReadFolderOptions ) : Array < string > ;
34- // WARNING: The type "IUpdateTimeParameters" needs to be exported by the package (e.g. added to index.ts)
3533 static updateTimes ( path : string , times : IUpdateTimeParameters ) : void ;
3634 static writeFile ( filePath : string , contents : string | Buffer , options ?: IWriteFileOptions ) : void ;
3735}
@@ -54,6 +52,16 @@ interface IDeleteFileOptions {
5452 throwIfNotExists ?: boolean ;
5553}
5654
55+ // @public
56+ interface IFileModeBits {
57+ // (undocumented)
58+ Group : PermissionsBits ;
59+ // (undocumented)
60+ Other : PermissionsBits ;
61+ // (undocumented)
62+ Owner : PermissionsBits ;
63+ }
64+
5765// @public
5866interface IFileSystemMoveOptions {
5967 ensureFolderExists ?: boolean ;
@@ -162,6 +170,12 @@ interface IReadFolderOptions {
162170 absolutePaths ?: boolean ;
163171}
164172
173+ // @public
174+ interface IUpdateTimeParameters {
175+ accessedTime : number | Date ;
176+ modifiedTime : number | Date ;
177+ }
178+
165179// @public
166180interface IWriteFileOptions {
167181 convertLineEndings ?: NewlineKind ;
0 commit comments