File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ export type FilesystemBoundaryFixture = {
1717
1818export type FilesystemBoundaryOwner = ( root : string ) => FilesystemBoundaryFixture ;
1919
20- export const FILESYSTEM_ERRNOS : readonly FilesystemErrno [ ] = [ 'EIO' , 'ENOSPC' , 'EMFILE' ] ;
21- export const FILESYSTEM_FAULT_POINTS : readonly FilesystemFaultPoint [ ] = [ 'write' , 'rename' ] ;
20+ const FILESYSTEM_ERRNOS : readonly FilesystemErrno [ ] = [ 'EIO' , 'ENOSPC' , 'EMFILE' ] ;
21+ const FILESYSTEM_FAULT_POINTS : readonly FilesystemFaultPoint [ ] = [ 'write' , 'rename' ] ;
2222
2323/** Registers every fault row for a typed owner table. Missing required owners fail typechecking. */
2424export function registerFilesystemBoundaryMatrix (
@@ -63,7 +63,7 @@ export function registerFilesystemBoundaryMatrix(
6363 }
6464}
6565
66- export function installFilesystemFault ( options : {
66+ function installFilesystemFault ( options : {
6767 faultPoint : FilesystemFaultPoint ;
6868 errno : FilesystemErrno ;
6969 targetPath : string ;
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export function withAtomicPublishTempPathSync<T>(
6464}
6565
6666/** Returns the canonical same-directory temp path used by atomic publishers. */
67- export function createAtomicPublishTempPath ( destination : string ) : string {
67+ function createAtomicPublishTempPath ( destination : string ) : string {
6868 return path . join (
6969 path . dirname ( destination ) ,
7070 `.${ path . basename ( destination ) } .${ process . pid } -${ crypto . randomUUID ( ) } .tmp` ,
You can’t perform that action at this time.
0 commit comments