todo
This commit is contained in:
parent
1afe333a4e
commit
0055b8f6cb
1 changed files with 1 additions and 14 deletions
|
@ -142,22 +142,9 @@ module FileSystem =
|
|||
let resolve (path: IPath) =
|
||||
Native.realpath path.string_value |> Result.bind Path.of_string
|
||||
(*
|
||||
module Pentole.Path
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Return the parent path
|
||||
/// </summary>
|
||||
/// <param name="path"></param>
|
||||
let parent (path: Path) =
|
||||
failwith "TODO"
|
||||
|
||||
let relative_to (parent: Path) (child: Path) =
|
||||
match (parent, child) with
|
||||
| (Absolute parent | Relative parent), (Absolute child| Relative child) ->
|
||||
System.IO.Path.GetRelativePath (parent, child)
|
||||
|> Path.of_string
|
||||
// TODO: don't use bcl because it resolves on the FS
|
||||
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in a new issue