We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I just saw that you did write your own function for getAllPaths. This could be changed to use built in System.IO functions, as such:
Strangly enough standardizeSlashes is as good as it gets 😅
standardizeSlashes
let normalizePathSeparators (str:string) = str.Replace("\\","/") let getAllFilePaths (basePath: string) = let options = EnumerationOptions() options.RecurseSubdirectories <- true Directory.EnumerateFiles(basePath, "*", options) |> Seq.map (fun fp -> Path.GetRelativePath(basePath, fp) |> normalizePathSeparators ) getAllFilePaths arcRootPath
code location:
ARCtrl.NET/src/ARCtrl.NET/Path.fs
Line 5 in ba3d2fa
"Empty" ARC will return:
"isa.investigation.xlsx" "assays/.gitkeep" "runs/.gitkeep" "studies/.gitkeep" "workflows/.gitkeep"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I just saw that you did write your own function for getAllPaths. This could be changed to use built in System.IO functions, as such:
Strangly enough
standardizeSlashes
is as good as it gets 😅code location:
ARCtrl.NET/src/ARCtrl.NET/Path.fs
Line 5 in ba3d2fa
"Empty" ARC will return:
The text was updated successfully, but these errors were encountered: