-
-
Notifications
You must be signed in to change notification settings - Fork 77
Comparing changes
Open a pull request
base repository: com-lihaoyi/os-lib
base: 0.11.3
head repository: com-lihaoyi/os-lib
compare: 0.11.4
- 17 commits
- 38 files changed
- 7 contributors
Commits on Oct 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4baa7ed - Browse repository at this point
Copy the full SHA 4baa7edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7263129 - Browse repository at this point
Copy the full SHA 7263129View commit details
Commits on Oct 27, 2024
-
Instrumented path based operations using hooks defined in
Checker
(#……325) Instrumented path based operations using hooks defined in `Checker`. ```scala trait Checker { def onRead(path: ReadablePath): Unit def onWrite(path: Path): Unit } ``` ### Exceptions The following operations were not instrumented: - `followLink`, `readLink` - `list`, `walk` - `exists`, `isLink`, `isFile`, `isDir` - read operations for permissions/stats - `watch` ### Future work - A more comprehensive design would add hooks for each core operation. This would eliminate the special check handling in operations like `move` and `symlink`. - As such, the methods of `ReadablePath` represent escape hatches. These cannot be "plugged" without breaking binary compatibility. This resolves part 1 of [mill #3746](com-lihaoyi/mill#3746).
Configuration menu - View commit details
-
Copy full SHA for e8519c0 - Browse repository at this point
Copy the full SHA e8519c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa3d627 - Browse repository at this point
Copy the full SHA fa3d627View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18e1be6 - Browse repository at this point
Copy the full SHA 18e1be6View commit details
Commits on Nov 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1ddbb25 - Browse repository at this point
Copy the full SHA 1ddbb25View commit details
Commits on Nov 12, 2024
-
Add compile-time validation of literal paths containing ".." (#329)
Addresses #327 This PR adds additional validation of literal path segments containing `..`. It throws compiletime error, suggesting canonical form of a path, when literal path is not canonical. Eg. "../foo/../bar" suggests "../bar" "foo/.." suggests removing literal --------- Co-authored-by: Li Haoyi <haoyi.sg@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8d4bf10 - Browse repository at this point
Copy the full SHA 8d4bf10View commit details
Commits on Nov 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a3a901c - Browse repository at this point
Copy the full SHA a3a901cView commit details
Commits on Dec 8, 2024
-
Fix empty folder missing problem when zip files. (#330)
Fix: #328 --------- Co-authored-by: Li Haoyi <haoyi.sg@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 90626df - Browse repository at this point
Copy the full SHA 90626dfView commit details
Commits on Jan 8, 2025
-
Configuration menu - View commit details
-
Copy full SHA for a4a46e9 - Browse repository at this point
Copy the full SHA a4a46e9View commit details
Commits on Jan 12, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 7113177 - Browse repository at this point
Copy the full SHA 7113177View commit details
Commits on Jan 14, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 2790f99 - Browse repository at this point
Copy the full SHA 2790f99View commit details
Commits on Jan 15, 2025
-
Update acyclic to 0.3.16 (#342)
Pull request: #342
Configuration menu - View commit details
-
Copy full SHA for ce59250 - Browse repository at this point
Copy the full SHA ce59250View commit details
Commits on Jan 31, 2025
-
Revert "Fix empty folder missing problem when zip files. (#330)" (#350)
This reverts commit 90626df. Fixes #349 I've spent some time trying to do a fix forward but I don't have much time on my hand. Can we revert this in the meantime and @counter2015 can provide another PR for the empty folder issue?
Configuration menu - View commit details
-
Copy full SHA for cf2e9a6 - Browse repository at this point
Copy the full SHA cf2e9a6View commit details
Commits on Feb 5, 2025
-
Add ZipSource.fromSeqPath (#352)
This enables something like this `os.zip(dest / "docusaurus.zip", os.list(wd / "build"))`
Configuration menu - View commit details
-
Copy full SHA for e659bd9 - Browse repository at this point
Copy the full SHA e659bd9View commit details -
Add literal syntax for
os.Path
,os.SubPath
,os.RelPath
(#353)This PR allows ```scala val p: os.Path = "/hello/world" val s: os.SubPath = "hello/world" val r: os.RelPath = "../hello/world" ``` This only allows string-literals that are valid absolute/sub/relative-path respectively; passing in invalid paths (e.g. `val p: os.Path = "hello/world"`) or non-literals (e.g. `val str = "/hello/world"; val s: os.SubPath = str `) is a compile error This builds upon @pawelsadlo's work in #297, mostly using `segmentsFromStringLiteralValidation` unchanged with some light pre/post processing to trim the leading `/` off of absolute `os.Path`s and check for leading `..`s on `os.SubPath`s I'm going to declare bankruptcy on the Expecty issues, as we cannot forever be working around bugs in unrelated libraries. If someone has problems and wants to fix expecty, they can do so, and we don't need to care. If nobody cares enough to fix expecty, we shouldn't care either.
Configuration menu - View commit details
-
Copy full SHA for 944e33f - Browse repository at this point
Copy the full SHA 944e33fView commit details
Commits on Feb 16, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 3aea8be - Browse repository at this point
Copy the full SHA 3aea8beView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.11.3...0.11.4