@lmzhen/dsh-evolution-io 0.3.17 → 0.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/types/index.d.ts +7 -0
- package/package.json +1 -1
package/lib/types/index.d.ts
CHANGED
|
@@ -34,6 +34,13 @@ export interface EvolutionIo {
|
|
|
34
34
|
* "let it through". Mirrors `EvolutionIoLike.isSymlink`.
|
|
35
35
|
*/
|
|
36
36
|
isSymlink?(this: void, path: string): Promise<boolean | null>;
|
|
37
|
+
/**
|
|
38
|
+
* Optional mtime-generation probe (0.3.18, E-71): milliseconds since epoch
|
|
39
|
+
* of the path's mtime, or `null` when unknown (unsupported backend, missing
|
|
40
|
+
* path, stat failure). Consumers use it as a cheap invalidation stamp for a
|
|
41
|
+
* cached listing. Mirrors `EvolutionIoLike.mtime`.
|
|
42
|
+
*/
|
|
43
|
+
mtime?(this: void, path: string): Promise<number | null>;
|
|
37
44
|
}
|
|
38
45
|
declare module '@deepseek-ai/cordis' {
|
|
39
46
|
interface Context {
|