Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8394542
vcsrepo_helpers.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
248 B
Subscribers
None
vcsrepo_helpers.rb
View Options
module
VcsrepoHelpers
def
expects_chdir
(
path
=
resource
.
value
(
:path
))
Dir
.
expects
(
:chdir
)
.
with
(
path
)
.
at_least_once
.
yields
end
def
expects_mkdir
(
path
=
resource
.
value
(
:path
))
Dir
.
expects
(
:mkdir
)
.
with
(
path
)
.
at_least_once
end
end
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Wed, Jun 4, 7:26 PM (6 d, 6 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3399153
Attached To
R119 Support for source control repositories
Event Timeline
Log In to Comment